All pastes #511522 Raw Edit

Unnamed

public php v1 · immutable
#511522 ·published 2007-05-26 14:12 UTC
rendered paste body
// Now mail the confirmation email ----------------------------------------// Body$activation_link = "http://www.civ-online.com/signedup.php?link=$form_username_hashed";$body = "Dear user,<br><br>On behalf of the team here at Civ-Online.com we thank you for signing up and joining us. Below is the activation link required to activate your account. Simply click it and it will take you to the site:<br><br>$activation_link";	$headers = "From: team@civ-online.com \r\n";	$headers.= "Content-Type: text/html; charset=ISO-8859-1 ";	$headers .= "MIME-Version: 1.0 ";	/*notice there aren't any \r\n after the second two header additions. This is what made this version work correctly*/	mail($form_email_address, "Civ-Online Confirmation Email", $body, $headers); // -----------------------------------------------------------------------------------