thank you for the hint. I just downloaded phpmailer and will have a closer look at the source (since I don't want to just use it but also to understand :-)
Regards Urs
Stratsimir Kolchevski schrieb:
Ruprecht Helms wrote:
Hi Urs Liska,
I'm quite new to PHP and need some help with the mail setup because I didn't find anything in the manuals and the books I have.
I want to send mails through a php script. My problem is that I didn't find a way to tell php not only the smtp server to send the mail through
normaly you did not need to authenticate on a smtp-server. Because of the spamproblem it can be that the smtp-server has the mechanism smtp after pop to accept mails only from known senders (a kind of spamprotection).
So you need to configure your mailserver or ask about the configuration of the ISP's mailserver.
Regards, Ruprecht
use this class - http://phpmailer.sourceforge.net/ to enable the smtp authentication
HTH
Stratsimir
-- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php