guncha Posted March 1, 2005 Report Share Posted March 1, 2005 php.ini saturs ... [mail function] ; For Win32 only. SMTP = mail.lanet.lv smtp_port = 25 ; For Win32 only. ;sendmail_from = xxxx@lanet.lv ... php skripts: <? ini_set("sendmail_from","es@inbox.lv"); ini_set("sendmail_path",NULL); ini_set("SMTP","mail.latnet.lv"); mail('g_atis@oto.lv', 'Tema', 'Vestules kermenis','From: es@inbox.lv'); ?> rezultaats:: Warning: mail() [function.mail]: SMTP server response: 554 <g_atis@oto.lv>: Relay access denied in C:\page\index.php on line 14 visaadi esu izmeegjinaajies, nekaa nevaru dabuut pie dziiviibas! Link to comment Share on other sites More sharing options...
рпр Posted March 1, 2005 Report Share Posted March 1, 2005 loģiski. viss ir pateikts teikumaa "Relay access denied ". Ņemam angļu vārdnīcu un aiziet. Link to comment Share on other sites More sharing options...
Roze Posted March 1, 2005 Report Share Posted March 1, 2005 Vai uz tās kastes kur griežas php ir Latnet pieslēgums? Proti provaideri smtp servera pakalpojums lielākoties piedāvā tikai saviem klientiem, līdz ar to atkarībā no tā jāmaina SMTP settings, piemēram apollo tas ir mail.apollo.lv, telia mail.telia.lv utt Link to comment Share on other sites More sharing options...
Recommended Posts