monkeybidz Posted October 3, 2007 Share Posted October 3, 2007 Is there a way the receient can both of these? $email_address and 1234567890@messaging.nextel.com mail ('1234567890@messaging.nextel.com', 'Subject Goes here', "$text_message", 'From: WEBMASTER@YOURSITE.COM'); If so, how would i place it code. I get an error when i place the variable inside the quotes. Quote Link to comment https://forums.phpfreaks.com/topic/71624-sending-mail-question/ Share on other sites More sharing options...
darkfreaks Posted October 3, 2007 Share Posted October 3, 2007 try using proper headers? google a few example tutorials on php mail headers Quote Link to comment https://forums.phpfreaks.com/topic/71624-sending-mail-question/#findComment-360603 Share on other sites More sharing options...
monkeybidz Posted October 4, 2007 Author Share Posted October 4, 2007 Thats why i asked. I already did all that. The one i posted above works fine, i just want it to send the message to $email_address and the number in the quotes at the same time. Where $email_address = whatever email the user enters in a form. Quote Link to comment https://forums.phpfreaks.com/topic/71624-sending-mail-question/#findComment-361346 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.