Mail sending failed

the mail() function

Moderators: macek, egami, gesf

Post Reply
New php-forum User
New php-forum User
Posts: 9
Joined: Tue Feb 07, 2012 9:36 pm

Re: Mail sending failed

Post by LadyKYra » Fri Apr 06, 2012 3:16 am

Hello sunny, I dont hve much time to read ur codes. You can check this out, it is an example from w3school
Idk if this will clear out things, but it can help. xD
$to = ",";
$subject = "HTML email";

$message = "
<title>HTML email</title>
<p>This email contains HTML Tags!</p>

// Always set content-type when sending HTML email
$headers = "MIME-Version: 1.0" . "\r\n";
$headers .= "Content-type:text/html;charset=iso-8859-1" . "\r\n";

// More headers
$headers .= 'From: <>' . "\r\n";
$headers .= 'Cc:' . "\r\n";


Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest