1
I’m trying to use the function mail() of However, the following warning appears when I run the script:
" Warning: mail() [Function.mail]: SMTP server Answer: 550 5.7.1 Must Authenticate!"
How do I set this up?
Follows 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);
could put the code in the question, so we understand better?
– William Pereira
Code posted.
– GustavoSevero