KillerBean Posted March 25, 2007 Report Share Posted March 25, 2007 Jautaajums par to, suutot failus no php skripta.. kapeec ir taa, ka INBOX mails visu atteelo normaali (fails.pdf), var failu nokachaat.. un viss ok, tachu ONE.LV pie attachment'a atteelo "application/pdf" un kachaajot piedaavaa failu "attachment.txt"? Taa ir skripta vaina vai arii ONE administraacijas?? Link to comment Share on other sites More sharing options...
rpr Posted March 26, 2007 Report Share Posted March 26, 2007 ir noveerots, ka one lv vispaar nesaprot html meilus un biezji vien met atpakalj kaa user unknow vai forbidden, ja mails ir vinjiem nesaprotamaa formaataa. Link to comment Share on other sites More sharing options...
andrisp Posted March 26, 2007 Report Share Posted March 26, 2007 (edited) KillerBean, moška iepeisto šeit headerus kādus sūti līdzi meilam. Edited March 26, 2007 by andrisp Link to comment Share on other sites More sharing options...
KillerBean Posted March 26, 2007 Author Report Share Posted March 26, 2007 (edited) Headers ---> From: sutits@no.lv MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="==Multipart_Boundary_*Te bija MB*" Saturs ---> Zina;)This is a multi-part message in MIME format. --==Multipart_Boundary_*Te bija MB* Content-Type:text/html; charset="UTF-8" Content-Transfer-Encoding: 7bit Zina;) --==Multipart_Boundary__*Te bija MB* Content-Type: application/pdf; name="saturs.pdf" Content-Transfer-Encoding: base64 --==Multipart_Boundary__*Te bija MB* Taa viss ok.. tagad one atpaziist to zinju, bet pievieno kkaadu "text/plain" failu ar saturu "null" Edited March 26, 2007 by KillerBean Link to comment Share on other sites More sharing options...
andrisp Posted March 26, 2007 Report Share Posted March 26, 2007 Baigā putra tev tur. Moka parādi php kodu, kas tev ģenerē to mailu. Link to comment Share on other sites More sharing options...
KillerBean Posted March 26, 2007 Author Report Share Posted March 26, 2007 here it is -> http://paste.php.lv/5353 Nu bet straadaa ;) Link to comment Share on other sites More sharing options...
Paulinjsh Posted March 27, 2007 Report Share Posted March 27, 2007 (edited) Ja nemaldos, tad starp headeriem bija obligāti jāliek "\r\n\ nevis "\n\n" vispār iesaku lietot gatavu klasi piemēram, http://www.phpguru.org/static/mime.mail.html Edited March 27, 2007 by Paulinjsh Link to comment Share on other sites More sharing options...
Recommended Posts