0
votes

I have a problem in CodeIgniter, sending a validation email:

A PHP Error was encountered

Severity: Warning

Message: mail() [function.mail]: SMTP server response: 550 The address is not valid.

Filename: libraries/Email.php

Line Number: 1553

2
i presume you are not on localhost and has a valid smtp server config? - tomexsans
Welcome to Stack Overflow! What have you tried? - Danny Beckett

2 Answers

0
votes

Usually this error means your mail server requires SMTP authentication to send emails. You may have two options, one is to change to another SMTP server that does not require authentication.

The other option will be to put the credentials in your config. Please check this page, and try with the smtp_user/smtp_pass settings.

If you post your config settings and the use case, I'll be able to provide you with more details.

0
votes

To be clear, "550 The address is not valid." means that the mail server cannot accept your email because it cannot find the mailbox "[email protected]". Are you sure that you have configured your mailserver properly?