50
Views
4
Comments
Solved
[SMTPClient] Authentication error using SMTP_SendEmail Server Action from SMTPClient component
smtpclient
Web icon
Forge asset by Wei Zhu
Application Type
Traditional Web

I have my app in two environments and I need to send an email using SMTP_SendEmail server action from SMTPClient component.

It works well in environment A and I try to replicate the SMTP Config in environment A to environment B but then got this error when the action being called:

Mailbox unavailable. The server response was: This is a submission only port. You must authenticate before sending mail

Does anybody know what actually the issue? Since there is nothing I can do with the config or input params.

2021-06-21 12-37-59
Wei Zhu
Solution

Because password is an encrypted attribute,  it will always displayed as blank in config screen.
  If you keep it blank and save, password will not be changed.
  If you input new value and save, password will be updated. 

You can check PasswordEncrypted in SMTPConfig on Environment A to see whether it is blank.
Regards
Wei




UserImage.jpg
Gatra Enggar

It works now. Thank you, @Wei Zhu.

2021-06-21 12-37-59
Wei Zhu

According to the error message, Your SMTP Server require Authentication.
So could you please check whether you had set password in you SMTP Config.

Regards
Wei


UserImage.jpg
Gatra Enggar

The SMTP config that works well in Environment A has no password filled in (just blank input), so I assume it's not required. Or is there any other possibility that I'm missing?

2021-06-21 12-37-59
Wei Zhu
Solution

Because password is an encrypted attribute,  it will always displayed as blank in config screen.
  If you keep it blank and save, password will not be changed.
  If you input new value and save, password will be updated. 

You can check PasswordEncrypted in SMTPConfig on Environment A to see whether it is blank.
Regards
Wei




UserImage.jpg
Gatra Enggar

It works now. Thank you, @Wei Zhu.

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