tkv Posted September 28, 2005 Share Posted September 28, 2005 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 regard, Quote Link to comment https://forums.phpfreaks.com/topic/2576-how-to-setup-the-email-function-in-phpini/ Share on other sites More sharing options...
vulpine Posted September 29, 2005 Share Posted September 29, 2005 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 Quote Link to comment https://forums.phpfreaks.com/topic/2576-how-to-setup-the-email-function-in-phpini/#findComment-8563 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.