Php Mail function not working with outlook
Posted by: Arpit Bansal (202.54.252.---)
Date: May 08, 2015 09:14AM

Hi All,

I am trying to use the php mail function in my web application. I want to connect to Microsoft Outlook.But, I am unable to connect to the smtp server of my domain...Please note that I have made all the required changes in php.ini.

But I am getting the following error
"Warning: mail() [function.mail]: Failed to connect to mailserver at "smtp.steria.com" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\wamp\www\checkmail.php on line 74"

Options: ReplyQuote
Re: Php Mail function not working with outlook
Posted by: RiggsFolly (---.as43234.net)
Date: May 23, 2015 02:43PM

Hi Arpit

Please can we start by you answering these questions READ BEFORE YOU ASK A QUESTION

Then can you post the changes that you made to your php.ini file for the SMTP server.

Also can you show your HOSTS file (c:\windows\system32\drivers\etc\hosts), as this will also require an entry for the mail server like so :-

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote


Sorry, only registered users may post in this forum.