mail function

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Shaun Demellweek

    mail function

    This is probabally a stupid question to most of you, but with the mail
    function, I can not find a way to put the senders e-mail in. All I get is
    from 'Nobody'.

    How would this be overcome, or is there any better function to send mail
    with?


  • Justin Koivisto

    #2
    Re: mail function

    Shaun Demellweek wrote:[color=blue]
    > This is probabally a stupid question to most of you, but with the mail
    > function, I can not find a way to put the senders e-mail in. All I get is
    > from 'Nobody'.
    >
    > How would this be overcome, or is there any better function to send mail
    > with?
    >
    >[/color]

    There is an example for this in the documentation:


    "Example 2. Sending mail with extra headers." is where you want to look.

    --
    Justin Koivisto - spam@koivi.com
    PHP POSTERS: Please use comp.lang.php for PHP related questions,
    alt.php* groups are not recommended.

    Comment

    Working...