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; 'mattpooch@mysite.com'; //Send email to our user $subject = 'Signup | Verification'; //// Give the email a subject $message = ' Thanks for signing up! Quote 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.";mattpooch@mysite.com"; Quote 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.";mpochily@vwc.edu"; //Send email to our user $subject = 'Signup | Verification'; //// Give the email a subject $message = ' Thanks for signing up! Quote 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.", mattpooch@mysite.com"; Quote 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! Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.