Announcement

Collapse
No announcement yet.

PHP's mail() function

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • chrispadfield
    replied
    Jim that can't be right, mail sent throug vbulletin appears as it is sent by me with my name (when i send a mailing list)

    try this:

    Code:
    "From: [email protected]\r\nReply-to:[email protected]"

    and see if that works.

    Leave a comment:


  • JimF
    replied
    You write to this guy named Rasmus Lerdorf, and ask him to change how his programming language runs under Apache.

    -jim

    Leave a comment:


  • JohnM
    replied
    I know what the problem is but how do I fix it?

    Leave a comment:


  • JimF
    replied
    I believe PHP sends all mail as if it were a user named PHP - I don't have time to confirm this or go into details, but I believe that's what your problem is.

    -jim

    Leave a comment:


  • JohnM
    started a topic PHP's mail() function

    PHP's mail() function

    Whenever I use the mail() function to send e-mail, it shows the sender as:

    Nobody <[email protected]> on behalf of John Miller <[email protected]>

    That's using a From: header.

    Code:
    	$from = "John Miller <[email protected]>";
    	mail($email,$subject,$message,"From: $from\n");
    This is for a mailing list program so I can't have it being sent as nobody!
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X