tronix Posted September 28, 2004 Report Share Posted September 28, 2004 Warning: mail(): "sendmail_from" not set in php.ini or custom "From:" header missing in C:\Program Files\Apache Group\Apache\htdocs\Mail\compose2.php on line 682 Kas tas vēl par gļuku? Tas viss turās uz Apache/2.0.50(W32) PHP/4.3.8 <_< Link to comment Share on other sites More sharing options...
arnico Posted September 28, 2004 Report Share Posted September 28, 2004 Teoretiski tas pasaka tev, ka tu neesu uzraadijis ko likt pie maila suutiishanas "FROM" , tb "no kaa"! Buutu labi ja iemestu arii pashu to koda dalju citu apskatei :) Nju konkreetajaa gadiijumaa iznaak ka tu neesi uzraadijis no kaa suutiit, un taakaa arii php.ini nav uzraadiita nokluseetaa veertiiba no kaa suutiit, tad vinjsh nevar saprast ko likt pie FROM daljas! Paveero savus mailus un redzeesi ka vinjiem visiem uzraadaas no kaa tas ir suutiits :) nu cjipa epasta adrese no kurienes tev tas ir nosuutiits, taapat arii sheit kautkas ir jaauzraada! Link to comment Share on other sites More sharing options...
hu_ha Posted September 28, 2004 Report Share Posted September 28, 2004 Tev tak ir teikts, ka trūks headerī "From:" atribūts. php.ini atrodam sadaļu [mail function] un atkomentējam rindiņu "from" ; For Win32 only. sendmail_from = me@example.com vai arī sūtot mailu norādam header From:me@example.com http://lv.php.net/manual/en/function.mail.php mail('user@example.com','subject','body',"From: me@domain.com\r\n"); tad vēl skaties kas ir ar tiem \r\n vai \n - atkarībā no mail servera tur bij atšķirības - uz microsoftīgajiem laikam obligāti vajadzēja \r\n (kaut kā tā) Link to comment Share on other sites More sharing options...
Dirty-dirty Posted September 29, 2004 Report Share Posted September 29, 2004 Warning: mail(): "sendmail_from" not set in php.ini or custom "From:" header missing in C:\Program Files\Apache Group\Apache\htdocs\Mail\compose2.php on line 682 Kas tas vēl par gļuku? Tas viss turās uz Apache/2.0.50(W32) PHP/4.3.8 <_< Link to comment Share on other sites More sharing options...
Recommended Posts