|
[x]
Posted via EE Mobile
|
||
Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again. |
||
| Question |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: 54: 55: 56: 57: 58: 59: 60: 61: 62: 63: 64: 65: 66: 67: 68: |
MAIL PROBLEM
****************************************************************************
$varFrom = "warrantyrequest@thecompany.com";
$emailTo1 = "$d_email"; // the database variable
$emailTo2 = "myemail@gmail.com"; // my hardcoded email address
$emailTo3 = "$mailEmail"; // the result of the SELECT statement used just before this
$varTo = "$emailTo1 , $emailTo2, $emailTo3";
$varSubject = "Dealer Portal Registration";
$msgBody = "";
/*****************************************************************************
NOT USING THIS SECOND OPTION WITH HTML IS COMMENTED OUT
*****************************************************************************
$msgBody = '
<html>
<head><title>DEALER PORTAL REGISTRATION</head>
<body>
<p>Dear:$varTo</p></b>
<p>Thank you for registering for an account with Bad Boy Dealer Portal!</br>
To activate your membership, please click here:
<a href="http://www.badboydealerportal.com/activate.php?id=$userid&code=$db_password">Activate my account!</a>
</br>
Once you activate your memebership, you will be able to login with the following:<br>
Username: $dealer_email</br>
Password: $random_password</br>
Thanks! From Joe at Bad Boy Buggies
This is an automated activation e-mail, please do not reply!
</body>
</html>
'; *************************************************************************
END OF COMMENTED OUT SECTION*/
/*******************************************************************************
GOOD TO USE************************************************************/
$msgBody = "Dear:" ."$var1"."\r\n";
$msgBody .= "Thank you for registering for an accountl!"."\r\n";
$msgBody .= "To activate your membership, please go to:" ."\r\n";
$msgBody .= "http://www.thecompany.com to Log In" ."\r\n";
$msgBody .= "Once you Login, your account will activate." ."\r\n";
$msgBody .= "Your Email is:". $mailEmail. 'or' . $d_email ."\r\n";
$msgBody .= "Your Password is:" .$dpassword . "and" . $rowPass. "\r\n";
$msgBody .= "Thank You! From Joel " ."\r\n";
"This is an automated activation e-mail, please do not reply!" ."\r\n";
//COMMENTED OUT
/**************************************************************************
**********************TRIED TO SEND LINK WITH USERID AND PASSWORD
DID NOT WORK ************ SENT TO BROWSER BUT STOPPED, NO ERROR
MESSAGE, OR NO CONGRATULATIONS MESSAGE*************************
$msgBody .=
"To activate your membership, please click here:"."\r\n";
"<a href=\"http://www.companylink.com/activate.php?id=$userid&code=$db_password">"Activate my account"."</a>" ."\r\n";*/
//$message = wordwrap($msgBody, 70);
/*************************************************************************
GOOD TO USE*******WITH OTHER FROM ABOVE NOT COMMENTED OUT*****************************************************
**************************************************************************/
$varMailHeader = "";
$varMailHeader .= "From: ".$varFrom."\r\n";
$varMailHeader .= "CC: myotherEmail@aim.com"."\r\n";
$varMailHeader .= "Return-Path: ".$varFrom."\r\n";
$varMailHeader .= "Return-Receipt-To: ".$varFrom."\r\n";
$varMailHeader .= "Reply-To: warrantyrequest@thecompany.com"."\r\n";
$varMailHeader .= "X-Mailer:PHP/".phpversion()."\r\n";
$mailsend = mail($varTo, $varSubject, $msgBody, $varMailHeader);
//echo $mailsend;
if ($mailsend)
{
echo "Your registration was successful $d_email! A confirmation is being emailed to the Email address you provided. Follow the instructions in that email to login to your account";
}
|
Advertisement
| Hall of Fame |