Mail Not Sent in Local
Posted by: premanath (---.123.65.182-airtelbroadband.in)
Date: September 16, 2014 01:56PM

Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in E:\xampp\htdocs\all\aarincars_live\code\15-09-14\contact_mail.php on line 65

The Above error is comming in mail function iam using xamp server my php.ini smtp=localhost nad port=25 but mail not sending above error is comming please help to me

Options: ReplyQuote
Re: Mail Not Sent in Local
Posted by: RiggsFolly (---.dynamic.dsl.as9105.com)
Date: September 20, 2014 07:38AM

Hi premanath,

This site is for help with WAMPServer, XAMPP has its own help site.

However, windows does not have its own built in mail server so you either have to install one like

hMailer

or use a

PHP Library like phpMailer

---------------------------------------------------------------------------------------------
(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.