I'm trying to use the mail () However, the following warning appears when I run the script:
"Warning: mail () [function.mail]: SMTP server response: 550 5.7.1 Must Authenticate! "
How do I set this up?
Follow the code:
$message = "Blablablablablablabla";
// In case any of our lines are larger than 70 characters, we should use wordwrap()
$message = wordwrap($message, 70);
// Send
mail('[email protected]', 'Solicitação de Cadastro de Fornecedor de Serviço - Numero - 111 - Controladoria - Marco Projetos e Construções', $message);