Re: sending multipule email with mail ()

From: Date: Mon, 26 Jun 2000 18:31:49 +0000
Subject: Re: sending multipule email with mail ()
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-3163@lists.php.net to get a copy of this message
thanks for your suggestion, but what is bcc field, what is the different between cc and bcc. Mathias Meyer wrote: > Name: Mark Lo <markloky@netvigator.com> > Subject: [PHP-GENERAL] sending multipule email with mail () > Date: 27.06.00, 01:30:52 > > > I know how to use the mail funtion, but how to use the mail > > function to send multiple email messages to different person. Should > I > > use the mail () inside a while loop if all of the email address is > > stored in the database. Is this a formal way to send multiple email. > > Any suggestion is helpful. > > Do you plan to use it for a newsletter? I.e. send one message to > different persons? In that case I suggest an additional Bcc-Field in > your Mail-Header. There you can add the additional email-addresses > comma-separated. For example: > mail("me@my.domain.com", "Newsletter No. 1", "This is my first > Newsletter", "Bcc: you@your.domain.com, he@his.domain.com"); > > In case you want to send different mail to different people, you'll have > to use kinda your version I guess. > > Best regards, > Mathias Meyer > > -- > PHP-Stand auf Europas groesster Linux-Messe: 'Linux-Tag' ! > weitere Infos @ http://www.dynamic-webpages.de/ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#3163) next »