Jump to content

Web Form Email Evite


liquidd

Recommended Posts

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!

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.