|
Тема |
Problem sus izpra6taneto na mail |
|
Автор |
[ASM] (непознат
) |
|
Публикувано | 22.01.03 04:13 |
|
|
zna4i ako si polzvam funkciata mail() mi dava gre6kata:
Warning: mail() [function.mail]: SMTP server response: 451 See http://pobox.com/~djb/docs/smtplf.html . in .......
ako niakoi ima kakvato i da e begla predstava za6to stava taka molia da kaje..
btw source-a e:
ini_set("SMTP","mx2.mobikom.com");
ini_set("smtp_port","25");
ini_set("sendmail_from","flamingo@mobikom.com");
$headers = "From: Name\n";
$headers .= "X-Sender: \n";
$headers .= "X-Mailer: PHP\n"; //mailer
$headers .= "X-Priority: 3\n"; //1 UrgentMessage, 3 Normal
$headers .= "Return-Path: \n";
$headers .= "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=windows-1251\r\n";
mail( "DrJoint@abv.bg", "Poruchka ot e-shopa", $msg, $headers);
|
| |
|
|
|