Contact form php smtp does not send emails to server

0

Hello, how the problem is the following server www.elcodigo.com handles emails by another server that is correo.elcodigo.com using Outlook Web Access the html form consists of three files envia.php class.phpmailer. php class.smpt.php when I fill in the form send the phplog strip: everything under the server iis

 PHP Warning:  mail(): Failed to connect to mailserver at "http://correo.elcodigo.com" port 587, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\wwwroot\formulario-contacto\envia.php
    
asked by jonatan 15.02.2017 в 15:56
source

1 answer

0

If you do not have a mail server, I recommend SendGrid is very good and has a free version and its documentation is very complete, I leave the link on how to implement it in PHP.

Greetings and I hope you serve

link

    
answered by 15.02.2017 в 20:31