Oauth2 mail for problem jobs?

Post Reply
User avatar
billy.olvestad
Member
Posts: 63
Joined: Mon Nov 19, 2018 10:08 pm
Location: Sweden
Contact:

Oauth2 mail for problem jobs?

Post by billy.olvestad »

Microsoft is soon closing down SMTP for mail sending, and while it is possible to use other SMTP services to send mail, I would like to use OAUTH2 instead for sending reports of problem jobs.

It is right now not possible to do that in the Switch settings.

A feature request has been sent to change this, but in the meantime I would like to fix this by attaching a flow branch to the problem jobs folder and add a "Mail Send with OAuth2.0" at the end to send the report that way.

The only problem is that when the job moves out of the problem jobs folder, you can no longer retry the job.

I can get information about the failed job, the fail message, the module the fail happened at and so on, but I can't find the path to the folder the file was in when the fail occurred.

I would like to have that path so that I can send the job to that path for a retry.

Is it possible to get this path after the file has moved out of the problem jobs folder?
Has anyone solved this another way?
jan_suhr
Advanced member
Posts: 708
Joined: Fri Nov 04, 2011 1:12 pm
Location: Nyköping, Sweden

Re: Oauth2 mail for problem jobs?

Post by jan_suhr »

You can use the Get Switch log message app to solve this.
It will just need one flow with this app and your mail send element.

This app read the log messages and you can filter what messages the app should send to you.

https://www0.enfocus.com/en/appstore/pr ... g-messages
Jan Suhr
Color Consult AB
Sweden
=============
Check out my apps
Post Reply