[quote user="Tecfan"]
Warning: mail() [function.mail]:
SMTP server response: 554 5.7.1
<12.81-167-170.customer.lyse.net[81.167.170.12]>: Client host
rejected: Access denied in C:\xampp\htdocs\spill\log.php on line 105
what should I do?
I changed SMTP to "smtp.ent.lyse.net" i PHP.ini.
(as they say here: http://www.lyse.no/category.php?categoryID=12101)
[/quote]
They do not allow relaying off their server. You need to test sending to a user at smtp.ent.lyse.net to see if your PHP application works. In any case since you are sending directly from your PHP application through their server this is not something that the we can help you with all that much. Talk to your ISP or the owner of the SMTP host.
220 asav6.lyse.net ESMTP Postfix
ehlo thomas
250-asav6.lyse.net
250-PIPELINING
250-SIZE 83886080
250-ETRN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
MAIL FROM: <test@tstephenson.com>
250 2.1.0 Ok
RCPT TO: <test@tstephenson.com>
554 5.7.1 <mail.tstephenson.com[209.128.94.2]>: Client host rejected: Access denied
[quote user="Tecfan"]<p><b>Warning</b>: mail() [<a href="http://tecfan.no-ip.org/spill/function.mail" mce_href="http://tecfan.no-ip.org/spill/function.mail">function.mail</a>]:
SMTP server response: 554 5.7.1
&lt;12.81-167-170.customer.lyse.net[81.167.170.12]&gt;: Client host
rejected: Access denied in <b>C:\xampp\htdocs\spill\log.php</b> on line <b>105</b></p><p>&nbsp;</p><p>what should I do? </p><p>&nbsp;</p><p>I changed SMTP to "smtp.ent.lyse.net" i PHP.ini.</p><p>(as they say here: http://www.lyse.no/category.php?categoryID=12101)
</p><p>[/quote]</p><p>&nbsp;</p><p>They do not allow relaying off their server.&nbsp; You need to test sending to a user at smtp.ent.lyse.net to see if your PHP application works.&nbsp; In any case since you are sending directly from your PHP application through their server this is not something that the we can help you with all that much.&nbsp; Talk to your ISP or the owner of the SMTP host.
</p><p>&nbsp;</p><p>220 asav6.lyse.net ESMTP Postfix
ehlo thomas
250-asav6.lyse.net
250-PIPELINING
250-SIZE 83886080
250-ETRN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
MAIL FROM: &lt;test@tstephenson.com&gt;
250 2.1.0 Ok
RCPT TO: &lt;test@tstephenson.com&gt;
554 5.7.1 &lt;mail.tstephenson.com[209.128.94.2]&gt;: Client host rejected: Access denied
</p>