0
I’m trying to create a page that sends emails but I’m not receiving them...
Would you have something you should check ?
Follow code I use to send...
<?php
$message = "Testando outros remetentes, para facilitar a resposta";
$headers = 'From: [email protected]';
if (mail('[email protected]', 'Teste', $message, $headers)) {
print('Funcionou');
}else{
print('Nao Funcionou...');
};
?>
This FROM email must be registered on my server in the hosting panel or I can use a generic one ?
It’s sending from a local server?
– Miguel
@Miguel Não, from a paid Hosting server
– Ricardo Lima