victorious Posted December 18, 2007 Share Posted December 18, 2007 Hello! This is my first time on this forum, and I appreciate any suggestions: I have a VERY simple form on my website www.besttoolsnow.com/targeted-email-marketing-course-day1 but it is not sending me an email with the opt in information. Here is the PHP: <? $mailto = 'support@besttoolsnow.com' ; $subject = "Email Mkt Suggestion" ; $formurl = "http://www.besttoolsnow.com/targeted-email-marketing-course-day1" ; $errorurl = "" ; $thankyouurl = "http://www.besttoolsnow.com/thankyou-emailmkt1" ; $uself = 0; $headersep = (!isset( $uself ) || ($uself == 0)) ? "\r\n" : "\n" ; $comments = $_POST['comments'] ; $http_referrer = getenv( "HTTP_REFERER" ); if (!isset($_POST['submit'])) { header( "Location: $formurl" ); exit ; } if (get_magic_quotes_gpc()) { $comments = stripslashes( $comments ); } $messageproper = "------------------------------------------------------------\n" . $comments . "\n\n------------------------------------------------------------\n" ; mail( $mailto, $subject, $messageproper,"From: \"Best Tools Now Email Mkt\" <$email>" . $headersep . "Reply-To: \"$name\" <$email>" . $headersep . "X-Mailer: chfeedback.php 2.07" ); header( "Location: $thankyouurl" ); exit ; ?> Thank you so much, looking forward to getting it solved! Quote Link to comment Share on other sites More sharing options...
play_ Posted December 18, 2007 Share Posted December 18, 2007 Any errors? 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.