"") { // check all required varibales are present if ($_REQUEST['name'] <> "" && $_REQUEST['email'] <> "" && $_REQUEST['city'] <> "" && $_REQUEST['country'] <> "" && ($_REQUEST['state'] <> "" || ($_REQUEST['country'] <> "USA" && $_REQUEST['country'] <> "Canada" && $_REQUEST['country'] <> "CANADA")) && $_REQUEST['confirm'] <> "" && $_REQUEST['email'] == $_REQUEST['confirm'] && strpos($_REQUEST['email'],"@") != FALSE) { $valid = true; // insert to database $sql = "insert into newsletter "; $sql .= "(name,email,city,state,country,signup) "; $sql .= "values ("; $sql .= "'" . escapeText($_REQUEST['name'],0) . "',"; $sql .= "'" . escapeText($_REQUEST['email'],0) . "',"; $sql .= "'" . escapeText($_REQUEST['city'],0) . "',"; $sql .= "'" . escapeText($_REQUEST['state'],0) . "',"; $sql .= "'" . escapeText($_REQUEST['country'],0) . "',"; $sql .= "'" . date("Y-m-d") . "'"; $sql .= ")"; insertQuery($sql,$db); // SEND EMAIL $strMessage = "Hello and thank you for joining Raymon's mailing list.

We only send out newsletters when we have something to say... so sometimes that is frequently and sometimes it is only once each quarter.

You have been added and will receive the next newsletter that is sent out."; $strMessage .= "

Your newsletter will be sent from this email address - news@raymongraceprojects.com.

Please add it to your spam filter so your newsletter can be delivered to you when we send it out."; $strMessage .= "

Thank you for your interest in Raymon and his projects."; $strMessage .= "

We hope you have a fun and prosperous day!"; $myMessage = "" . $strMessage . ""; $subject = "Raymon's Newsletter"; $headers = "MIME-Version: 1.0\n"; $headers .= "Content-type: text/html; charset=iso-8859-1\n"; $headers .= "From: " . $emailname . " <" . $email . ">\n"; $return = mail(trim($_REQUEST['email']), $subject, $myMessage, $headers); } else { $valid = false; } } ?> Raymon Grace Projects


What is Dowsing?
Dowsing Tools
Who is Raymon Grace?
Projects
Books
Tapes and DVD's
Class Schedule
Links
Contact Us


 


Newsletter

If you would like to receive Raymon's newsletter, please sign up here.

If you provide us with your name, email, city, state and or country, we will notify you when Raymon is in your area speaking or teaching classes.

 

If you have questions about this process, email us here.

Subscribe to Raymon's Newsletter

To unsubscribe from Raymon's Newletter, click here.

 


View archived newsletters here
.