Re: Mail()'s not playing nicely :(
| From: | Robin Chen | Date: | Sat, 30 Jun 2001 07:48:14 +0000 |
| Subject: | Re: Mail()'s not playing nicely :( | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-55642@lists.php.net to get a copy of this message | ||
Instead of \n try \r\n
Robin
Jamie Thompson wrote:
>
> ok so i got
>
> mail("me@home.com", "$message", "sms alert", "Return-Path:
> $email
> <$email>\nFrom: $email <$email>\nReply-To: $email <$email>\nX-Mailer: "
> .
> phpversion());
>
> the email appears as from root@myserver.com istead of me@home.com which it
> should (and always has done previousy)
>
> I looked at the headers and from reply-to and return path are all set ok but
> it sticks in another return path right at the top to root@myserver.com
>
> wtf is going on?/
>