php

By alex, 2 Days ago, written in php.
  1. $to = $regemail;
  2.         $subject = "Welcome to Deaglegame!";
  3.        
  4.         $message = '<div style="width:700px; background-color: #f8f8f8; padding:10px; font-family: Arial, Helvetica, sans-serif; font-size:11px;">';
  5.         $message .= '<div><img src="http://deaglegame.net/images/logo.png" alt="Deaglegame" /></div>';
  6.         $message .= '<div style="margin-top: 10px;"><b>Thank you for registering '.$reguser.'!</b>';
  7.         $message .= '<p style="margin: 5px;">You are now registered with us, you can login at any moment on the website using the login box situated at the top right of any page!</p>';
  8.         $message .= '<p style="margin: 5px;">If you are experiencing any difficulties, let us know by sending an email to either <a href="mailto:[email protected]">[email protected]</a> or <a href="mailto:[email protected]">[email protected]</a>.</p>';
  9.         $message .= '<p style="margin: 10px 0 5px 0;">Sincerly,</p>';
  10.         $message .= '<p style="margin: 5px 0 5px 0;">The Deaglegame.net Team</p>';
  11.         $message .= '<p style="margin: 5px 0 5px 0;"><a href="http://deaglegame.net">http://deaglegame.net</a></p>';
  12.         $message .= '</div>';
  13.         $message .= '</div>';
  14.        
  15.         $headers = "From: [email protected]\r\n";
  16.         $headers .= "Reply-To: [email protected]\r\n";
  17.         $headers .= "MIME-Version: 1.0\r\n";
  18.         $headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";
  19.        
  20.         mail ($to, $subject, $message, $headers);
  21.  
  22.                 echo '<div style="-moz-border-radius:5px;-webkit-border-radius:5px;border:1px solid #7ccf29;background:#99FF33;margin:10px;padding:10px 0 10px 20px;font-size:11;"><center><span style="font-weight:bold;font-size:13px;">Your account has been created!</span><br />You may now login! <a href="http://www.deaglegame.net">Click here</a></div>';
  23.         }