Notification Mail - Invalid Addresses

Aptidon7 years ago

Hi Everyone,
I configured my smtp server as follows :

<entry key='mail.smtp.host'>smtp.gmail.com</entry>
<entry key='mail.smtp.port'>465</entry>
<entry key='mail.smtp.ssl.enable'>true</entry>
<entry key='mail.smtp.ssl.trust'>*</entry>
<entry key='mail.smtp.from'>example@gmail.com</entry>
<entry key='mail.smtp.auth'>true</entry>
<entry key='mail.smtp.username'>example@gmail.com</entry>
<entry key='mail.smtp.password'>*******</entry>

when I try to do a test send notification, I have this error:

Invalid Addresses - SendFailedException (... < NotificationMail:123 < NotificationResource:73 < ...)

thanks for the help

Anton Tananaev7 years ago

Error message is pretty self-explanatory.

Aptidon7 years ago

Thank you @anton

I know but the emails are valid, and I activated the security parameters on gmail and then I tested with a php script (smtp) write by me and the emails are sent

Anton Tananaev7 years ago

If computer says it's invalid, then it's invalid. It doesn't lie. You must be missing something.

Aptidon7 years ago

I'm sure that emails are valid and smtp from my gmail works. I don't know what's wrong :(

Anton Tananaev7 years ago

Can I have access to take a look?

Aptidon7 years ago

Sorry for the delay, I was working locally, so I was looking for a way to put it online.

you can access this link : Link with user/user like login/password

Thank you

Anton Tananaev7 years ago

Well "user" is not a valid email.

Aptidon7 years ago

the notification uses the user's email or the email provided in the configuration

Anton Tananaev7 years ago

No, it does NOT. Configuration only has "FROM" email. "TO" email is your user email address.

Aptidon7 years ago

oh I'm really sorry, I did not pay attention, I always thought "TO" in place of "From".

Thank you very much Anton.