Skip to main content
Solved

SMTP SendAsDenied Exception when sending email via Print Dialog

  • December 3, 2021
  • 3 replies
  • 725 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.

This topic has been closed for replies.

3 replies

Kasun Balasooriya
Superhero (Employee)
Forum|alt.badge.img+20
  • Superhero (Employee)
  • 347 replies
  • December 22, 2021

Hi @khajeewak ,

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

 

Thanks,

Kasun


Forum|alt.badge.img+7
  • Hero (Employee)
  • 37 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