mattpooch Posted November 4, 2009 Share Posted November 4, 2009 I'm trying to create a form that when submitted, an e-mail is sent to the user that created the account (and entered their e-mail address) AND the site administrator. I've coded something wrong though: $to = $email; '[email protected]'; //Send email to our user $subject = 'Signup | Verification'; //// Give the email a subject $message = ' Thanks for signing up! Link to comment https://forums.phpfreaks.com/topic/180268-solved-e-mail-to-multiple-addresses/ Share on other sites More sharing options...
seanlim Posted November 4, 2009 Share Posted November 4, 2009 $to = $email.";[email protected]"; Link to comment https://forums.phpfreaks.com/topic/180268-solved-e-mail-to-multiple-addresses/#findComment-950957 Share on other sites More sharing options...
mattpooch Posted November 4, 2009 Author Share Posted November 4, 2009 This still doesn't work, not getting any e-mails now: $to = $email.";[email protected]"; //Send email to our user $subject = 'Signup | Verification'; //// Give the email a subject $message = ' Thanks for signing up! Link to comment https://forums.phpfreaks.com/topic/180268-solved-e-mail-to-multiple-addresses/#findComment-950994 Share on other sites More sharing options...
nadeemshafi9 Posted November 4, 2009 Share Posted November 4, 2009 $to = $email.", [email protected]"; Link to comment https://forums.phpfreaks.com/topic/180268-solved-e-mail-to-multiple-addresses/#findComment-950996 Share on other sites More sharing options...
mattpooch Posted November 4, 2009 Author Share Posted November 4, 2009 Awesome! Thank you! Link to comment https://forums.phpfreaks.com/topic/180268-solved-e-mail-to-multiple-addresses/#findComment-951017 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.