mail() function in php to send mails (with SMTP=localhost)

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
shanthini
Forum Newbie
Posts: 12
Joined: Wed Jun 18, 2008 11:22 pm

mail() function in php to send mails (with SMTP=localhost)

Post by shanthini »

Hi,

I am using mail() function in php to send mails. In my php.ini file the settings were

SMTP=localhost
port=25

It is working fine. I am not sure how it is working even with localhost. May be the mail server does not requires authentication and email agent 'sendmail' is used.

Can any one give advice on this.

Thanks
Shanthini
Post Reply