PHP problems
Friends,
Can anyone help me how to send mail from PHP by authenticating SMTP server and how can i configure php for sending mail.Please help me by sending the appropriate code.It's urgent! Muhib |
php on *nix systems uses the sendmail binary, which does not support SMTP AUTH. You need to have your MTA perform that function.
Which MTA are you using? You'd better be patient; this will most likely take you some time. |
PHP and SMTP Authentication
When I was dealing with this, I concluded that conceptually what you need to do is configure Sendmail to autoforward to the SMTP Server. Your PHP should out of the box already communicate sending email through sendmail based on the default settings in the php.ini file. You are not going to get PHP to communicated directly with the SMTP server. However, you can configure Sendmail to do so.
|
All times are GMT -5. The time now is 09:28 PM. |