SMTP server response: 551 User not local.
5 příspěvků
Archiv diskusního fóra
Fórum je uzavřené a slouží pouze ke čtení. Některé informace mohou být zastaralé.
-
zdarek spustil jsem na svem kompu SMTP server. problem je v tom ze to nechce chodit.Na wz mi odesilani mailu funguje v pohode ale na localu ani za boha. pise:Warning: mail() [function.mail]: SMTP server response: 551 User not local. nevite co to znamena? predem diky PS:servery sami nastavili local host i local adress. A test portu 25 je ok.
-
mnoo mozna bych mel doplnit ze mam spusteny apache, php a soucasne s tim i ten SMTP a snazim se spoustet php scripty s fci mail() a odesilat pomoci teto fce maily.
-
nieco s pravami ? apache bezi asi ako iny pouzivatel ako ten z ktoreho testujes smtp server cez telnet (alebo cez co...). skus poriadne prezriet konfiguraciu...
-
<HTML>> SMTP server response: 551 User not local. posilas to pres server, ktery ti nedovoluje relaying kdybys to zkusil pres telnet tak urcite dojdes k tomu stejnemu reseni: upravit php.ini a dat tam server, na kterem mas nejaka prava</HTML>
-
Hi.. I dont really understand, but it looks like you have the same problem as i did, so here is a function i wrote to get around it. it works just like the normal mail function. Hope it helps /Cix function cintix_mail($recipient,$subject,$content[,$extra]) { $smtp_server = "smtp.server.com"; $port = 25; $mydomain = "my.domain.com"; $username = "user"; $password = "password"; $forbindelse = fsockopen($smtp_server,$port); fputs($forbindelse, "EHLO $mydomain\r\n"); fputs($forbindelse, "AUTH LOGIN\r\n"); fputs($forbindelse, base64_encode($username)."\r\n"); fputs($forbindelse, base64_encode($password)."\r\n"); fputs($forbindelse, "MAIL FROM:<$sender>\r\n"); fputs($forbindelse, "RCPT TO:<$recipient>\r\n"); fputs($forbindelse, "DATA\r\n"); fputs($forbindelse, "To: $recipient\n"); fputs($forbindelse, "Subject: $subject\n\n"); if ($extra != "") fputs($forbindelse, "$extra\n\n"); fputs($forbindelse, "$content\r\n"); fputs($forbindelse, ".\r\n"); fputs($forbindelse, "QUIT\r\n"); }