Solved

SMTP SendAsDenied Exception when sending email via Print Dialog

  • 3 December 2021
  • 3 replies
  • 483 views

Badge +3

Hi All,

When we try to send email using print dialog email function. (IFS Application 9)

We are getting the following error.

 

Any idea how why we are getting this and how to fix it?

Thank you,

Jeewan

icon

Best answer by AHMET.GULTEKIN 18 February 2022, 14:57

View original

This topic has been closed for comments

3 replies

Userlevel 7
Badge +20

Hi @khajeewak ,

Are you getting this error only when emailing from print dialog? 

 

Thanks,

Kasun

Userlevel 2
Badge +6

Hi @khajeewak,

 

That error is coming from your email server. The brief explanation is  “You are not allowed to send mail in the name of your user”. That is happening because you are getting authorized with credentials defined on the mail sender. But the from field is the users email address who orders the report.

There are 2 major solutions, you can grant your mail sender account to send for the name of others or you can use an smtp server which will not require authentication, as relay to override that identity problem.

Badge +3

Thank you @AHMET.GULTEKIN and @Kasun Balasooriya