tataque Posted October 24, 2010 Share Posted October 24, 2010 Hi, I have a piece of PHP code running on a Windows Server. This code needs to allow the users to send emails from a specific mail account to other accounts. The problem is I don't know how to configure the php.ini file for making the mail() function work. Any ideas? Thanks very much in advance. Quote Link to comment https://forums.phpfreaks.com/topic/216717-php-mail-function/ Share on other sites More sharing options...
trq Posted October 25, 2010 Share Posted October 25, 2010 I don't know how to configure the php.ini file for making the mail() function work You simply need to tell it what smtp server your using. Quote Link to comment https://forums.phpfreaks.com/topic/216717-php-mail-function/#findComment-1126003 Share on other sites More sharing options...
phpfreak Posted October 25, 2010 Share Posted October 25, 2010 You may want to look into the phpMailer class. It has SMTP support and is fairly easy to use. Quote Link to comment https://forums.phpfreaks.com/topic/216717-php-mail-function/#findComment-1126005 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.