Mecury mail doesn't send mail.

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Mecury mail doesn't send mail.

Postby sarun » 20. December 2010 10:21

I'm using XAMPP 1.7.1 on Windows XP SP3 and I'm testing Mercury mail. I wrote some code like :
Code: Select all
<?php
// The message
$message = "Line 1\nLine 2\nLine 3";

// In case any of our lines are larger than 70 characters, we should use wordwrap()
$message = wordwrap($message, 70);

// Send
if(mail('xxx@gmail.com', 'My Subject', $message)) //I replace xxx with my email
{
   echo "Sucsess";
}
else
{
   echo "Unsucsess";
}
?>

It gave me the Sucsess but no email come to my gmail inbox. How can I make it goes into my inbox?
Anyway, in XAMPP Page, it says that SMTP is working.
PS. Sorry for bad English.
PS2. The code is from http://php.net/manual/en/function.mail.php
sarun
 
Posts: 2
Joined: 20. December 2010 10:11

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 55 guests