Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

sending multiple mails

Programming languages, Coding, Executables, Package Creation, and Scripting.
Post Reply
Message
Author
hytechpro
Posts: 1
Joined: 2005-09-26 12:39
Location: INDIA

sending multiple mails

#1 Post by hytechpro »

I want to know how to send mails to multiple email addresses using PHP code.

Thanks.

http://www.hytechpro.com

lacek
Posts: 764
Joined: 2004-03-11 18:49
Location: Budapest, Hungary
Contact:

#2 Post by lacek »

I think you can't. You have to send them one by one.

Jeroen
Debian Developer, Site Admin
Debian Developer, Site Admin
Posts: 483
Joined: 2004-04-06 18:19
Location: Utrecht, NL
Contact:

#3 Post by Jeroen »

Of course you can :). You can simply do "user1@example.com, user2@example.com" as the recipient. If I remember correctly, also providing extra headers like "Cc: user3@example.com, user4@example.com" (and/or bcc) works.

Post Reply