NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page have message sent more than one email account

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search
5 members in live chat ~  


Reply
 
LinkBack Thread Tools
Old 09-22-2010, 01:11 PM THREAD STARTER               #1 (permalink)
NamePros Regular
Join Date: Sep 2007
Posts: 244
hangman21 is on a distinguished road
 



have message sent more than one email account


right my current setting is this in my php file

// Enter your email address
$to ='my@email1.com';

if i want to make it sent to two email accounts how would i write that

// Enter your email address
$to ='my@email_1.com';'my@email_2.com';
hangman21 is offline   Reply With Quote
Old 09-22-2010, 02:04 PM   #2 (permalink)
NamePros Regular
 
nick's Avatar
Join Date: Jun 2004
Location: Iowa City
Posts: 703
nick has much to be proud ofnick has much to be proud ofnick has much to be proud ofnick has much to be proud ofnick has much to be proud ofnick has much to be proud ofnick has much to be proud ofnick has much to be proud of
 


Save The Children
Code:
$to ='my@email_1.com, my@email_2.com';
__________________
formally ninedogger
------
Want to talk to a stranger? -->| Click Here | TalkToAStranger.com | <-- Meet New Friends
nick is offline   Reply With Quote
Old 09-25-2010, 03:33 AM   #3 (permalink)
New Member
Join Date: Sep 2010
Posts: 10
iamjohnbrown is an unknown quantity at this point
 



You are using semi colon which is a indication that it is the last thing on the line and it terminates the line. Follow the suggestion by ninedogger which has comma between the two email ID.
iamjohnbrown is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


 
All times are GMT -7. The time now is 02:38 PM.

Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger