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 but also the username and password the smtp server expects. When running the script on my ISP's server it works but the mail is sent from an "CGI-Mailer" account (seemingly central for the ISP). When running the script from my home machine (after having pointed php (in php.ini) to the smtp server through which I can send my emails) I get an error message complaining about required authentication.
Do I understand something wrong or is there really no way to tell php about the username and password for the smtp server?
I would really appreciate any help. Regards Urs Liska
-- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php