Re: Can I define SMTP account and password for mail() ?
| From: | Stratsimir Kolchevski | Date: | Fri, 11 Jul 2003 08:43:54 +0000 |
| Subject: | Re: Can I define SMTP account and password for mail() ? | ||
| References: | 1 2 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-11267@lists.php.net to get a copy of this message | ||
Ruprecht Helms wrote:
Hi Urs Liska,use this class - http://phpmailer.sourceforge.net/ to enable the smtp authentication HTH StratsimirI'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 throughnormaly 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