m0zus Posted February 18, 2008 Report Share Posted February 18, 2008 <?php mail("kautkas@kautkas.com", "Subject", "Message"); ?> Izmet erroru - Warning: mail() [function.mail]: SMTP server response: 554 5.7.1 <kautkas@kautkas.com>: Relay access denied in C:\AppServ\www\test.php on line 2 Ja kautkas@kautkas.com vietā uzlieku uz sava domēna esošu meilu, tad aizūtās.. Kas jādara lai aizūtītu uz citu meilu? P.S. Sūtu caur nano.lv smtp Link to comment Share on other sites More sharing options...
andrisp Posted February 18, 2008 Report Share Posted February 18, 2008 Izskatās, ka vienkārši Nano.lv SMTP ir ierobežots. Pamēģini citu SMTP. Link to comment Share on other sites More sharing options...
Aleksejs Posted February 18, 2008 Report Share Posted February 18, 2008 Ja nano ir Tavs provaiders, tad visticamāk viņi ļautu sūtīt uz jebkuru adresi, taču tikai no saviem domēniem. Kāda Tev ir FROM (sūtītāja) adrese? Link to comment Share on other sites More sharing options...
m0zus Posted February 18, 2008 Author Report Share Posted February 18, 2008 Emm.. Uz nano lv stāv mana lapa, bet sūtīt meilu taisos no cita hosta. Paskatijos gūglē un sapratu ka ir vajadzīga SMTP autorizācija (laikam?!). Ar meilu neesu nekad ņēmies, atradu google kodu ar autorizāciju, erors nerādas, bet mails ar nesūtas. Link to comment Share on other sites More sharing options...
m0zus Posted February 22, 2008 Author Report Share Posted February 22, 2008 (edited) Kāds palīdzēs? Atradu šo te, bet kas pie velna tas par require_once "Mail.php"; ? Edited February 22, 2008 by m0zus Link to comment Share on other sites More sharing options...
andrisp Posted February 22, 2008 Report Share Posted February 22, 2008 Lasīt vajag kārtīgāk: Make sure the PEAR Mail package is installed. Tas arī ir tas Mail.php Link to comment Share on other sites More sharing options...
Recommended Posts