| Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free! |
sending multiple mails
|
Original Message
|
Name: hytechpro
Date: September 26, 2005 at 03:16:50 Pacific
Subject: sending multiple mailsOS: Windows XPCPU/Ram: 256 MB |
Comment: I want to know how to send mails to multiple email addresses using PHP code. Thanks. http://www.hytechpro.com
Report Offensive Message For Removal
|
|
Response Number 1
|
Name: Stephen Hall
Date: September 26, 2005 at 03:37:16 Pacific
|
Reply: (edit)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...!"
Report Offensive Follow Up For Removal
|
|
Response Number 2
|
Name: SN
Date: September 26, 2005 at 21:36:12 Pacific
|
Reply: (edit)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
Report Offensive Follow Up For Removal
|

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