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 $POST@servername.net Code: $toEmails = array('admin@domain.com, $_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! Quote Link to comment 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.