Page 1 of 1

mail()

Posted: Wed Dec 06, 2006 5:04 pm
by Jim_Bo
Hi,

Trying to send to multiple emails using the mail() function along with html email ..

The email addresses are stored in the database as first@email.com;second@email.com.

Have had no luck getting it to mail out to more than one address.

Is mail capable of multiple emails?


Thanks

Posted: Wed Dec 06, 2006 5:08 pm
by impulse()
If I remember reading a post similar to yours the other day correctly, then unfortunatly not. Somebody did mention Swiftmailer is capable of such thing.

Stephen,

Posted: Wed Dec 06, 2006 5:39 pm
by feyd
Yes, mail() can send to multiple addresses, but it will often take a long time. Swift is far faster and better for such a situation.

Posted: Wed Dec 06, 2006 6:36 pm
by Jim_Bo
Hi,

its only gunna be 2 emails addresses that will get the form results, is swift mailer wourth the effort for 2 addresses vers. mail()


Thanks

Posted: Thu Dec 07, 2006 12:56 am
by Chris Corbyn
Jim_Bo wrote:Hi,

its only gunna be 2 emails addresses that will get the form results, is swift mailer wourth the effort for 2 addresses vers. mail()


Thanks
Yes and no. No if the emails are nothing more than some administrative notification. Yes if you don't know who the recipients are since it's difficult to craft correctly formed emails for sending with mail.