waring SMTP server response: 554 5.7.1

December 10, 2010 at 14:21:16
Specs: Windows 7
ini_set('SMTP','SMTP.gnet.tn');
$to = "makram89@live.com";
$subject = 'inscription';
$mes = "nom:$nom_clt
email:$mail
sujet:$dem_clt
message:$msg
";
$headers = "From:$mail" . "\r\n" .'Reply-To:marwenw@live.fr' . "\r\n" .'X-Mailer: PHP/' . phpversion();
mail($to, $subject, $mes,$headers);
$mess1="merci pour votre remarque";
header("location:contact.php?k=$mess1");

See More: waring SMTP server response: 554 5.7.1

Report •

#1
December 15, 2010 at 03:27:12
You are trying to use the SMTP server as a relay server. In other words, you are trying to send mail from an SMTP server from a user not known to the server and to a recipient in another domain. Any good mail server will be configured not to allow this as it is used by spammers.

Report •
Related Solutions


Ask Question