#1
  1. No Profile Picture
    RyanP
    Guest
    Devshed Newbie (0 - 499 posts)
    'From:' of course

    Are additional headers like 'Reply-To:', etc. necessary or useful for general email purposes?
  2. #2
  3. No Profile Picture
    Robert_J_Sherman
    Guest
    Devshed Newbie (0 - 499 posts)
    Ryan,

    Headers, like Reply-to, Bcc, Cc, From,
    X-Mailer, Priority, etc..

    There are quite a few, and it just depends on what you are doing..

    In short, the answer is: It's up to you.

    Personally, I tend to use:
    From:
    Reply-To:
    Return-Path:
    X-Mailer:
    X-Sender:

    And sometimes use X-Priority, depending on what I'm sending.. I use that one particulary in an "auto-invoicer".. where my monthly service invoices are emailed by PHP..


    P.S. -- I've only had problems with Bcc and Cc, when sending via "sendmail" with the -t option...

    I've been told that under PHP, sendmail strips those headers when -t is used.

    This was never a case when sending mail with Perl, using sendmail -t.. so, I'm not sure if that statement was true..

    ------------------
    SnR Graphics,
    Low Cost Hosting and Web Development.

    [This message has been edited by Robert_J_Sherman (edited October 19, 2000).]

Similar Threads

  1. Help with script
    By akastarlight in forum Perl Programming
    Replies: 1
    Last Post: February 6th, 2004, 07:55 AM
  2. Changing mail headers from the message
    By butcher in forum PHP Development
    Replies: 0
    Last Post: January 8th, 2004, 05:40 PM
  3. Headers given in the mail function showing in the mail body
    By dhanishth in forum PHP Development
    Replies: 2
    Last Post: December 29th, 2003, 03:29 AM
  4. order of headers for mail() function?
    By mindfriction in forum PHP Development
    Replies: 2
    Last Post: December 11th, 2003, 06:50 AM
  5. mail() headers
    By Joen in forum PHP Development
    Replies: 1
    Last Post: November 17th, 2003, 12:57 PM

IMN logo majestic logo threadwatch logo seochat tools logo