liquidd Posted September 5, 2008 Share Posted September 5, 2008 Hey All, I am trying to make a simple web form e-vite that someone can fill out with a recipient, return email, and message. The form creates an HTML page with the graphics and message, etc and send the e-vite to a recipient and the admin. This issue I am having is that I cannot get the "toEmail" section to work. I attempted to use the $Post, but it seems to use the server name such as [email protected] Code: $toEmails = array('[email protected], $_POST[email]'); My logic was that I used the $_POST[from] for the "from" email and it printed it ok, so I could duplicate that thought and by using the $_POST, it would return the correct value and email it to the right person. Wrong. I have a feeling I am missing something easy. Any ideas? Do I have to declare something first? Thanks for the help! Link to comment https://forums.phpfreaks.com/topic/122873-web-form-email-evite/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.