7 Answers
New AnswerWarning: 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 ..\Playground\ PHP Warning: 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 ..\Playground\
it isnt activated... if you can send me the Code i can Check if it would Work ... if you keep on working with PHP Install a local Server on your Computer. abyss Webserver or sth else and activate everything for PHP.
<?php $to = "[email protected]"; $subject = "My subject"; $txt = "Hello world!"; $headers = "From: [email protected]" . "\r\n" . "CC: [email protected]"; mail($to,$subject,$txt,$headers); ?>
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message