Jump to content


This topic is now archived and is closed to further replies.


how to setup the email function in php.ini

Recommended Posts

How can i run or setup email function on php.ini with windows server


do i need to setup pop3 and smtp on windows server before enable this function in the php.ini or ....


any suggestions will be great appreciated



Share this post

Link to post
Share on other sites

you can have an smtp service running on the server


then in the php.ini set under [mail function]


SMTP = localhost;your smtp server, localhost should be fine if the smtp server is on this computer

smtp_port = 25; or your mail port youre using

sendmail_from= user@domain; should be a user on the machine, i have mne set to webmaster and all mail sent from the mail function appears to come from webmaster at domain

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.