Re: mail() and the From: attribute...
| From: | John Nichel | Date: | Fri, 13 Aug 2004 12:52:39 +0000 |
| Subject: | Re: mail() and the From: attribute... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-193692@lists.php.net to get a copy of this message | ||
Tristan.Pretty@risk.sungard.com wrote:
I'm sending out a mail, en mass to about 25 people, using the while loop from a MySQL query...You could send out just one mail, and put all the names in the BCC field. Save yourself a few SMTP connections. I think there's a limit to how many addresses you can have in a field but you should be safe with a small number like 25 (if not, you can break it up into like 3 emails).
Anyhoo, In the mail() function, if I use the final field for the From: attribute. I'm having probs... HAving: ..."From: address@site.com"); doesn't work on all recipients... BUT.. ..." From: justaname"); Works on others... but not all...? Surely this can't be? I've never come accross this before? Any ideas what's up?My guess would be that it's on the client end. Have you tried formatting it like this... From: John Doe <john@doe.com> -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 john@kegworks.com