Skip to main content
Solved

SMTP SendAsDenied Exception when sending email via Print Dialog

  • December 3, 2021
  • 3 replies
  • 694 views

khajeewak
Sidekick (Partner)
Forum|alt.badge.img+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

Best answer by AHMET.GULTEKIN

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.

View original
Did this topic help you find an answer to your question?
This topic has been closed for comments

3 replies

Kasun Balasooriya
Superhero (Employee)
Forum|alt.badge.img+20

Hi @khajeewak ,

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

 

Thanks,

Kasun


Forum|alt.badge.img+6
  • Hero (Employee)
  • 35 replies
  • Answer
  • February 18, 2022

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.


khajeewak
Sidekick (Partner)
Forum|alt.badge.img+3
  • Author
  • Sidekick (Partner)
  • 6 replies
  • February 18, 2022

Thank you @AHMET.GULTEKIN and @Kasun Balasooriya 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings