Jump to content

Wordpress Coupon Ad


SuperWebman

Recommended Posts

Ok hopefully someone can help me with this, because i'm at a lost.  I installed a plugin called Fast Secure Contact Form.  Which is an awesome form, but what I need to do if this is possible for the form to email the client a coupon that i designed after they submit the form.  That will populate their information from the form to it.  The plugin is pretty cool and you can add all kinds of things to it.  Here is the plugin site http://www.fastsecurecontactform.com/

it has an option where posted data can be sent as a query string on the redirect URL http://www.fastsecurecontactform.com/sending-data-by-query-string

Any help on this would be awesome, because my boss just dropped this on me today and he wanted it done like last week. :-\

 

Thanks,

 

B

Link to comment
Share on other sites

You just want to send an email right?

 

http://php.net/manual/en/function.mail.php

 

bool mail ( string $to , string $subject , string $message [, string $additional_headers [, string $additional_parameters ]] )

 

This will work as long as your host has a working SMTP server set up.

 

For example:

 

mail("computerguy81@gmail.com", "Need PHP mail help!", "Hi, can  you please help me with PHP?");

 

When this runs it will send an email. Format the message with the values from the form and presto. Done.

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.