Re: mail() and the From: attribute...
| From: | Tristan dot Pretty at risk dot sungard dot com | Date: | Fri, 13 Aug 2004 12:47:58 +0000 |
| Subject: | Re: mail() and the From: attribute... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-193696@lists.php.net to get a copy of this message | ||
I've tried just having a name, and it still doesn't reach my notes based E-mail... :-(
Hmmm, also, how do you specify to send in the BCC field, using the mail() function?
All in all, we're getting there..!
-----John Nichel <john@kegworks.com> wrote: -----
To: php-general@lists.php.net
From: John Nichel <john@kegworks.com>
Date: 08/13/2004 01:52PM
Subject: Re: [PHP] mail() and the From: attribute...
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 C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
john@kegworks.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
*********************************************************************
The information contained in this e-mail message is intended only for
the personal and confidential use of the recipient(s) named above.
If the reader of this message is not the intended recipient or an agent
responsible for delivering it to the intended recipient, you are hereby
notified that you have received this document in error and that any
review, dissemination, distribution, or copying of this message is
strictly prohibited. If you have received this communication in error,
please notify us immediately by e-mail, and delete the original message.
***********************************************************************