Analgiins Posted August 26, 2004 Report Share Posted August 26, 2004 nevaru aizsuutiit vienkaarshu meili, nu skripts vienkaarsh <?php mail("mailzs@kautkas.lv", "My Subject", "Line 1\nLine 2\nLine 3"); ?> Nu meils protams esosh, bet izmet pazinjojumu: Warning: mail(): SMTP server response: 451 See http://pobox.com/~djb/docs/smtplf.html. in C:\Program Files\Apache Group\Apache2\htdocs\piem\zzz.php on line 23 Kas tad tas taads ir ? php.ini failaa SMTP arii uzlikts viss kaa vaig, man ir balticom.lv so: SMTP = mail.balticom.lv ;un smtp_port = 25 Link to comment Share on other sites More sharing options...
Analgiins Posted August 26, 2004 Author Report Share Posted August 26, 2004 te veel taada infa, ka tas viss griezhas uz WinXP Pro, Apach 2.0.49, PHP 4.3.7 Link to comment Share on other sites More sharing options...
bubu Posted August 26, 2004 Report Share Posted August 26, 2004 \n vietā liec \r\n Tu papūlējies to linku vispār izlasīt? Link to comment Share on other sites More sharing options...
Venom Posted August 26, 2004 Report Share Posted August 26, 2004 (edited) un uzmanies, lai tekstā nebūtu \n.\n ;) Edited August 26, 2004 by Venom Link to comment Share on other sites More sharing options...
rumpels Posted September 1, 2004 Report Share Posted September 1, 2004 might be ka kljudos bet lieta bus ieksh smtp un windows, tas ka saturs ir "Line 1\nLine 2\nLine 3" pie dupsha jo ja php nepanjems ka mainigos aizsutis ka tekstu. Cik zinu tad windows nav ka *nix sistemam ar mail funkcijam un ja ir apache uzlikts uz windows bus nepiecieshams instelet kadu softu smtp serverim ka piemeram sho http://netwinsite.com/surgemail cik zinu ta shama lietinja nav freeware un trialu var izmegjinat uz kadam 30dienam, tad kad busi nokonigurejis liekas ka pat php.ini Tev nekas nebus jamaina un vinsh njems ka apachim piesaistito smtp...ka jau teicu might be kljudos:) Link to comment Share on other sites More sharing options...
Venom Posted September 2, 2004 Report Share Posted September 2, 2004 ja esi pievienots pie ineta, tad vari rakstīt kādu ārējo smtp serveri (apollo,navigators,inbox etc.), ja nē - tad būs jāinstalē pašam savs mail serveris (man, atceros, iepatikās no Argsoft, free+viegli konfigurējams). Iekš linušiem vienkārši jau iraid pieinstalēts sendmail vai qmail. Link to comment Share on other sites More sharing options...
Recommended Posts