Page 1 of 1

Mailing Help

Posted: Sun Jun 04, 2006 9:51 pm
by tecktalkcm0391
How come this code give me a email message of:
Content-type: text/html; charset=iso-8859-1

From:

<html><head><title>Welcome</title></head><body>WelcomeChrisM,<br>The whole would like to welcome you to the online community. <br>We hope you enjoy the website, and thanks for registering. <br><BR>In order for you to start your experience on , you must activate your account. To do this please visit here: <a href=\"\"></a><br>or you can just enter the following code on our website: <Br>1031214 <br><br>Your login information is:<br><br>Username: afdafdsfadsfasd<br>Password: <br>Code: 123<br>Please commit these items to memory, and remember NEVER give your login information to anyone, and only login on http:

Code: Select all

$welcome = '<html><head><title>Welcome</title></head><body>Welcome' . $name. ',<br>The whole staff would like to welcome you to the online community. <br>We hope you enjoy the website, and thanks for registering. <br><BR>In order for you to start your experience, you must activate your account. To do this please visit here: <a href=\"website.'\">website</a><br>or you can just enter the following code on our website: <Br>'. $activationcode .' <br><br>Your login information is:<br><br>Username: ' . $username . '<br>Password: ' . $pass . '<br>Code" ' . $display_code .' <br>Please commit these items to memory, and remember NEVER give your login information to anyone, and only login on WEBSTIE<br> If you have questions about our website please <a href=\"WBSTIE\">contact us</a>.</body></html>'; 
	  $subject_welcome = 'Welcome to Our Website';
	  $welcome_headers  = 'MIME-Version: 1.0' . "\r\n";
	  $welcome_headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
	  $welcome_headers .= 'From: Our Web<example@domain.com>' . "\r\n";
	  mail($email, $subject_welcome, $welcome, $welcome_headers);

Posted: Sun Jun 04, 2006 10:44 pm
by s.dot

Code: Select all

$welcome = '<html><head><title>Welcome</title></head><body>Welcome' . $name. ',<br>The whole staff would like to welcome you to the online community. <br>We hope you enjoy the website, and thanks for registering. <br><BR>In order for you to start your experience, you must activate your account. To do this please visit here: <a href="website">website</a><br>or you can just enter the following code on our website: <Br>'. $activationcode .' <br><br>Your login information is:<br><br>Username: ' . $username . '<br>Password: ' . $pass . '<br>Code" ' . $display_code .' <br>Please commit these items to memory, and remember NEVER give your login information to anyone, and only login on WEBSTIE<br> If you have questions about our website please <a href="WBSTIE">contact us</a>.</body></html>';
 
          $subject_welcome = 'Welcome to Our Website'; 
          $welcome_headers  = 'MIME-Version: 1.0' . "\r\n"; 
          $welcome_headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; 
          $welcome_headers .= 'From: Our Web<example@domain.com>' . "\r\n"; 
          mail($email, $subject_welcome, $welcome, $welcome_headers);
try that