Я использую PHP и функцию электронной почты, но я перед этой ошибки:Внимание: почта() [function.mail]: SMTP ответ сервера: 550
Warning: mail() [function.mail]: SMTP server response: 550 No such user here in C:\inetpub\vhosts\saj.ir\subdomains\lms\httpdocs\registration\include.php on line 78
мой код:
$srting= "testing email";
ini_set("SMTP","webmail.saj.ir");
ini_set("sendmail_from","[email protected]");
$headers= 'MIME-Version: 1.0' . "\r\n";
$headers.= 'Content-type: text/html; charset=utf8' . "\r\n";
$headers .= 'From: www.saj.ir' . "\r\n";
mail("[email protected]","class list",$srting,$header);
Я не знаю спасибо.
i change
webmail.saj.ir
tohttp://ns1.easysoftco.com
and now i face this message : Failed to connect to mailserver at "http://ns1.easysoftco.com" port 25, verify your "SMTP" and "smtp_port"
ой я нашел мою проблему: Я использую вдова и IIS 7.5
есть способ отправить в IIS 7.5
ли webmail.saj.ir SMTP-сервер, который вы можете использовать в качестве реле? Это работает на Windows-машине? (Настройка SMTP ini ТОЛЬКО для Windows) –
спасибо Emil i change webmail.saj.ir на 'http: // ns1.easysoftco.com'. – aya