115
Views
4
Comments
Solved
Error "Username and Password is invalid" when send email
Question

While sendig an email using outsystem and i am getting an error on monitoring i.e invalid username and password . 

Why ? 

I did smtp configuration.

Please help me out

Regards

2026-03-12 06-20-48
KUNDAN CHAUHAN
Champion
Solution

Hi Anjali,

Here we need  to  generate App password from google account under security tab.

and use this password at the time of SMTP configuration.

take a reference from this post...

https://www.outsystems.com/forums/discussion/79316/send-email-from-outsystems-to-gmail-etc/

hope it help you..

Thanks

UserImage.jpg
Anjali Yadav

Hi,

after smtp setup now I am encountering Error:-  118: 553-5.1.3 The recipient address  is not a valid RFC-5321 

I checked the TO parameter in the Send Email Object and I know that I entered the correct email address.

Any advice on this?

Thank you 

2022-06-30 16-10-08
Volodymyr Tkachenko


 Gmail/SMTP refuses to accept emails addressed to an address-literal, as specified in RFC 5321.

Even though RFC 5321 allows an address literal in the RCPT TO, Gmail obviously chose not to support it, for whatever reasons they used. I'm confident that Gmail is not the only mail provider in the world that, for one reason or another, does not support some arcane part of the SMTP protocol.

And that's pretty much it. The answer here is, pretty much, "it is what it is". The command you're sending is compliant with RFC 5321. Gmail rejects it. The End.

If you want to be pedantic about this, section 3.3 of RFC 5321 also states:

Similarly, servers MAY decline to accept mail that is destined for other hosts or systems.

So, pedantically, Gmail's mail servers are not technically required to accept mail for anyone else other than Gmail. So that's that.

Your options are:

  1. Don't use address literals.

  2. Use another mail server provider that supports destination addresses specified as address literals.

UserImage.jpg
vikas sharma
Champion

Hi,

Its indicate that username password used in SMTP configuration are not valid. Please recheck them.

regards

2026-03-12 06-20-48
KUNDAN CHAUHAN
Champion
Solution

Hi Anjali,

Here we need  to  generate App password from google account under security tab.

and use this password at the time of SMTP configuration.

take a reference from this post...

https://www.outsystems.com/forums/discussion/79316/send-email-from-outsystems-to-gmail-etc/

hope it help you..

Thanks

UserImage.jpg
Anjali Yadav

Hi,

after smtp setup now I am encountering Error:-  118: 553-5.1.3 The recipient address  is not a valid RFC-5321 

I checked the TO parameter in the Send Email Object and I know that I entered the correct email address.

Any advice on this?

Thank you 

2022-06-30 16-10-08
Volodymyr Tkachenko


 Gmail/SMTP refuses to accept emails addressed to an address-literal, as specified in RFC 5321.

Even though RFC 5321 allows an address literal in the RCPT TO, Gmail obviously chose not to support it, for whatever reasons they used. I'm confident that Gmail is not the only mail provider in the world that, for one reason or another, does not support some arcane part of the SMTP protocol.

And that's pretty much it. The answer here is, pretty much, "it is what it is". The command you're sending is compliant with RFC 5321. Gmail rejects it. The End.

If you want to be pedantic about this, section 3.3 of RFC 5321 also states:

Similarly, servers MAY decline to accept mail that is destined for other hosts or systems.

So, pedantically, Gmail's mail servers are not technically required to accept mail for anyone else other than Gmail. So that's that.

Your options are:

  1. Don't use address literals.

  2. Use another mail server provider that supports destination addresses specified as address literals.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.