Re: mail() without subjects and froms
| From: | David Nicholson | Date: | Fri, 20 Jun 2003 15:55:57 +0000 |
| Subject: | Re: mail() without subjects and froms | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-152315@lists.php.net to get a copy of this message | ||
Hello,
This is a reply to an e-mail that you wrote on Fri, 20 Jun 2003 at 16:40,
lines prefixed by '>' were originally written by you.
> Hi there!
> I have a weired problem with a 4.12 php version on win2k.
> When i mail more then one email i often have the problem that the mail
> reaches their recipient but the subject and from does not work
> properly,
> instead this
> is on top of the email. but strangely sometimes it just works normal.
> does someone know the reason for such "empty subject" mails?
> - Johannes
When you call the mail() function are you using the headers parameter, if
so have you accidentally put a double newline in your headers, if so this
would cause all of the headers below the double newline to appear in the
body.
David.
--
phpmachine :: The quick and easy to use service providing you with
professionally developed PHP scripts :: http://www.phpmachine.com/
Professional Web Development by David Nicholson
http://www.djnicholson.com/
QuizSender.com - How well do your friends actually know you?
http://www.quizsender.com/
(developed entirely in PHP)