Computing.Net > Forums > Web Development > sending multiple mails

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

sending multiple mails

Reply to Message Icon

Name: hytechpro
Date: September 26, 2005 at 03:16:50 Pacific
OS: Windows XP
CPU/Ram: 256 MB
Comment:

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

Thanks.

http://www.hytechpro.com



Sponsored Link
Ads by Google

Response Number 1
Name: Stephen Hall
Date: September 26, 2005 at 03:37:16 Pacific
Reply:

Vishal,

Try the mail() function. Just call it multiple times or query it off of a db in a loop.

Stephen

"Live long and PROGRAM......or at least do _something_ with all that time...!"


0

Response Number 2
Name: SN
Date: September 26, 2005 at 21:36:12 Pacific
Reply:

You probably only need to call it once - just comma-delimit the addresses in the first parameter of the mail function:

mail("SN@computing.net,vishal@computing.net", "subject", "message");

Good luck,
-SN


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: sending multiple mails

sending multiple mails www.computing.net/answers/webdevel/sending-multiple-mails/2162.html

(PHP) Form sending e-mail www.computing.net/answers/webdevel/php-form-sending-email/3670.html

i want send a mail from unix to my outlook www.computing.net/answers/webdevel/i-want-send-a-mail-from-unix-to-my-outlook/4193.html