include_once "includes/dbConnNoSession.php"; $today = date("Y-m-d"); $sql = "SELECT ID, date_joined,Email,First_Name,Last_Name FROM users WHERE (iphone = 'Y') and (iphone_welcome_email = '' ) and (date_joined >= '2009-10-05') and (IPHONE_FREE <> 'Y') and (SIGNED_UP_FROM_IND <> '6') "; $sth = mysql_query($sql) or die(mysql_error()); while($invites = mysql_fetch_array ($sth)) { $lookupEmail = $invites[Email]; include "doNotSend.php"; if( $OkToSendEmail == "Y"){ //SEND EMAIL. $to = $invites[Email]; $toName = ucfirst($invites[First_Name]); $from = "signup@YadaHome.com"; include "emailTerms.php"; $subject = "Welcome To Family Organizer - Account Activated"; $message = "
|
| *Paid premium membership is required to use the Premium YadaHome.com App features, including synching, sharing and networking features ©2009 Research In Motion Limited. All rights reserved. BlackBerry®, RIM®, Research In Motion®, SureType®, SurePress™ and related trademarks, names and logos are the property of Research In Motion Limited and are registered and/or used in the U.S. and countries around the world. $emailTerms |