monkeybidz Posted October 3, 2007 Share Posted October 3, 2007 Is there a way the receient can both of these? $email_address and [email protected] mail ('[email protected]', 'Subject Goes here', "$text_message", 'From: [email protected]'); If so, how would i place it code. I get an error when i place the variable inside the quotes. 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 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. Link to comment https://forums.phpfreaks.com/topic/71624-sending-mail-question/#findComment-361346 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.