Dec
1
2006
1
2006
PHP send email using authenticated smtp server in real time
Under Tips & Tricks By chandu
PHP has mail() function to send an email to users. However this mail() will not work:
=> If sendmail (or compatible binary) is not installed
=> If Apache Web server / Lighttpd running in chrooted jail
=> And your smtp server needs an authentication before sending an email
In all these cases you need to use PHP PEAR’s Mail:: interface. It defines the interface for implementing mailers under the PEAR hierarchy, and provides supporting functions which are useful in multiple mailer backends. In this tip you will learn about how to send an e-mail directly to client smtp server in real time.
[More in this Article...]
PHP send email using authenticated smtp server in real time
Originally from nixCraft by

sfondi sport
news
rai sport
news
sport attivita sportiva
news