I have configured two mailboxes using Oauth to read emails from two different mailboxes which is working fine. But when we are sending email notifications, it is working from address of only one Oauth client which is given as default address in config file parameter- 'email_transport_smtp.username'
if we give other one, it is failing to send an email, because it is referring to default one and as from address is different oAUTH rejects it. Before Oauth this was not an issue, but with oAuth can we pick the Oauth configuration based on from address in notification instead of default which is given in config file.
Can someone please help how to make this SMTP work with multiple mailboxes. Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for checking , yes I did this workaround yesterday but it has to go
through some chain of approvals to get there. it would be great if iTop can
provide a way that it picks up Oauth connection according to from address
then it should work seamlessly. Any way we can instruct oauth connection
according to from address In notifications instead of always default from
Config . Thanks
Any of you who had a need to use different SMTP servers?
It seems iTop is hardcoded at this point to use the one defined in its configuration file?
My customer's need: depending on the "from:" address in e-mail notifications, the e-mail should be sent through a O365 mailbox - from a different organization/tenant.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I have configured two mailboxes using Oauth to read emails from two different mailboxes which is working fine. But when we are sending email notifications, it is working from address of only one Oauth client which is given as default address in config file parameter- 'email_transport_smtp.username'
if we give other one, it is failing to send an email, because it is referring to default one and as from address is different oAUTH rejects it. Before Oauth this was not an issue, but with oAuth can we pick the Oauth configuration based on from address in notification instead of default which is given in config file.
Can someone please help how to make this SMTP work with multiple mailboxes. Thanks
Hi,
Can someone please help how to set option to pick different oAUTH in notifications from the availble list of oAuth connections enabled for SMTP.
I haven't thoroughly dived into this, but isn't the username determined by what's configured in the notification anyway?
How are your "send as" permissions configured in MS 365?
Hi Jeffrey,
Thanks for checking , yes I did this workaround yesterday but it has to go
through some chain of approvals to get there. it would be great if iTop can
provide a way that it picks up Oauth connection according to from address
then it should work seamlessly. Any way we can instruct oauth connection
according to from address In notifications instead of always default from
Config . Thanks
On Wed, 26 Oct 2022 at 9:13 PM Jeffrey jbostoen@users.sourceforge.net
wrote:
Any of you who had a need to use different SMTP servers?
It seems iTop is hardcoded at this point to use the one defined in its configuration file?
My customer's need: depending on the "from:" address in e-mail notifications, the e-mail should be sent through a O365 mailbox - from a different organization/tenant.