Jump to content


Photo

Mail Function and Hotmail?


  • Please log in to reply
26 replies to this topic

#21 brown2005

brown2005
  • Members
  • PipPipPip
  • Advanced Member
  • 943 posts

Posted 12 July 2006 - 07:35 PM

well ive tried it.. no messages on my comp... u get it?


#22 scott.russell

scott.russell
  • Members
  • PipPip
  • Member
  • 15 posts

Posted 12 July 2006 - 07:37 PM

<html>
<body bgcolor='#ece9d8'>
<p>Test</p></body>
</html>

Yes but it did'nt render the HTML

#23 brown2005

brown2005
  • Members
  • PipPipPip
  • Advanced Member
  • 943 posts

Posted 12 July 2006 - 07:44 PM

well did it go to the inbox or junk mail as junk mail makes html not work... try the new one ive just sent and put in inbox...

#24 scott.russell

scott.russell
  • Members
  • PipPip
  • Member
  • 15 posts

Posted 12 July 2006 - 07:45 PM

It is in the inbox and still isnt rendering. 


#25 scott.russell

scott.russell
  • Members
  • PipPip
  • Member
  • 15 posts

Posted 12 July 2006 - 07:50 PM

It works now.  Thanks a lot for all your help.

#26 brown2005

brown2005
  • Members
  • PipPipPip
  • Advanced Member
  • 943 posts

Posted 12 July 2006 - 07:53 PM

im stumped mate, ive just set up a hotmail account and it works fine... i get a grey background and the link i put in it.....

#27 brown2005

brown2005
  • Members
  • PipPipPip
  • Advanced Member
  • 943 posts

Posted 12 July 2006 - 07:53 PM


session_start();

$headers  = "MIME-Version: 1.0\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$headers .= 'From: CHWMFL <example@example.com>' . "\r\n";

$subject = "";

$email = 'richard-brown-2005@hotmail.co.uk';

$message = "
<html>
<body bgcolor='#ece9d8'>
<p><a href='http://www.allinthissite.co.uk/index/index.php?page=account&action=home'>REGISTER ON MY SITE.... THANKS</a></p>
</body>
</html>";

mail($email, $subject, $message,"From: CHWMFL <example@example.com>\n X-Mailer: PHP/" . phpversion());

just to put it, thats it...




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users