We have created an Application Server Task with a noreply@ email address as “Email Sent From”:
and in Setup IFS Connect – Mail Sender looks like this:
Still, the email arrives from the user account s_azure.smtp@:
We have tried with “Override mail sender” both checked and unchecked, but this doesn’t change anything.
Anyone with the same issue, or with a solution for it?
Best answer by NickPorter
My guess (and it is just that) is that the SMTP service in o365 is not allowing the account being used (s_azure.smtp) to send out as a different account regardless of what you tell it to do. Most mail services can be configured to prevent sending as someone else during a message relay, which is part of how spam email works, and this might be what you’re seeing.
Can you or someone on the o365 look into that configuration on the mail service side?
Can you check the application message for the emailing the quick report and see what’s the value for the Sender in message line to check if the sender sets from the schedule task is set properly?
If you haven’t tried yet, set a user id (eg. IFSAPP) in the Email Sent From and see if it picks the user email?
can you try to reply to the received mail and check what’s the correct sender of the email. I just wonder if IFS ignores the sender parameter and uses the default sender or it’s the sender name which is wrong.
My guess (and it is just that) is that the SMTP service in o365 is not allowing the account being used (s_azure.smtp) to send out as a different account regardless of what you tell it to do. Most mail services can be configured to prevent sending as someone else during a message relay, which is part of how spam email works, and this might be what you’re seeing.
Can you or someone on the o365 look into that configuration on the mail service side?
Out of curiosity, I tried to schedule a report with another user as sender in the quick report app server task and seems the functionality is working.
Note that OVERIDE_MAIL_SENDER is unchecked for the mail sender configurations. If this is the same setup as you, I’m leaning towards the O365 configurations issue as suggested by @NickPorter
Some time ago I saw the same problem but then the application message was failed since the mailbox doesn’t have privilege to send as another user. But it could have been changed in O365 now.
My guess (and it is just that) is that the SMTP service in o365 is not allowing the account being used (s_azure.smtp) to send out as a different account regardless of what you tell it to do. Most mail services can be configured to prevent sending as someone else during a message relay, which is part of how spam email works, and this might be what you’re seeing.
Can you or someone on the o365 look into that configuration on the mail service side?
Nick
Hello Nick.
Thank you for your reply. We assume this is the reason for our trouble.
Out of curiosity, I tried to schedule a report with another user as sender in the quick report app server task and seems the functionality is working.
Note that OVERIDE_MAIL_SENDER is unchecked for the mail sender configurations. If this is the same setup as you, I’m leaning towards the O365 configurations issue as suggested by @NickPorter
Some time ago I saw the same problem but then the application message was failed since the mailbox doesn’t have privilege to send as another user. But it could have been changed in O365 now.
Damith
Hello @dsj and what did you do to fix this error . I have the same error when i send report by mail i will see 2 new lines in application message page. one in failure and one in success.
The one that works has followed the reporting rule settings and the one that doesn't work since the mailbox doesn’t have privilege to send as another user aloso has the following title: PDF file for Confirmation de cde client report for result key 1984 is ready .
I want to know if it’s possible stop sending this second email, which will still fail.To only have one record in application message
I assume you have checked the Send Email checkbox in your print dialog which triggers the second email. instead of that, you can set the printer to No Printout, which will still trigger the report rule and send the mail accordingly.
I assume you have checked the Send Email checkbox in your print dialog which triggers the second email. instead of that, you can set the printer to No Printout, which will still trigger the report rule and send the mail accordingly.
Hope it helps!
Damith
Hello @dsj
Thanks for you answer
But where should i go to set the printer to No Printout.
And yes i checked the Send Email CheckBox in the print dialog .
This is for exemple reporr rule Action i created for
User will trigger mail sending and define destinator in the print dialog
and this is the result in the application message page.
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.