Date: 11/24/01
- Next message: John Paulsson: "[PHP-DB] Retrieving rows matched when using UPDATE in PHP/MySQL"
- Previous message: Uma Shankari T.: "[PHP-DB] php & Mysql"
- In reply to: hex - Paweł Fornalski: "[PHP-DB] BCC mail with mime attachments"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> Does anyone tried to send mail with BCC: header attaching some files (using
> mail() ) .
> I've written some script codeing attachements to MIME.
> It works with all types of attachements and any number of receivers, but
> only when I use TO: header. When I'm trying to send it with BCC: it send
> e-mail but instead of mime attachement that would be good for my mail
> program I only get a long uncode message.
>
> Where should I put BCC: (i.e. at the end of message) or what should I
> change?
Paweł,
I use the scripts from PHPguru.org.
The rules of what you can include in headers are stated in the RFC documents - always worth a quick scan.
Sometimes it seems a good idea to leave To: blank and put everyone under Bcc: for privacy reasons. A good
practice is to send yourself a copy of the msg so that you can have some idea that it 'got out' - particularly
if you use an external address which simply forwards back to your in-house email server (a la Yahoo etc) for the
purpose. You can, of course, invent a suitable receiver name/title to use in the To:, eg ListNm Subscriber - but
pay careful attention if you do/do not want subscribers to conduct correspondence with this account/name!
PHP's Mail() seems to have a somewhat 'fixed' view of how things will be done. I suspect that if you miss out
something it is expecting, eg the To: field, it stops cooperating.
Recommend you manufacture and insert a To: entry, and keep all else in the Bcc:, and see if that works for
you...
=dn
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: John Paulsson: "[PHP-DB] Retrieving rows matched when using UPDATE in PHP/MySQL"
- Previous message: Uma Shankari T.: "[PHP-DB] php & Mysql"
- In reply to: hex - Paweł Fornalski: "[PHP-DB] BCC mail with mime attachments"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

