Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Email API configuration via Jar for Oauth

Sakshi28
New Contributor III
New Contributor III

Hi ,

We have recently changed our email server setting to #Oauth. There are few custom jars which uses Basic auth setting to send mail, We want to change that and use Saviynt API to send out the mail via #Custom Jars

One requirement is to send attachment too in this, Kindly provide feedback on the attribute we can utilize , We have already checked the #API and did not see this

As we already have #Analytics# configured which are currently sending mail to users after attaching required report .Let us know if we can utilize any #Rest# call to deliver the same

4 REPLIES 4

pruthvi_t
Saviynt Employee
Saviynt Employee

Hi @Sakshi28 ,

Greetings,

Can you please elaborate on 'using Saviynt API to send out the mail via #Custom Jars'. 

In Saviynt APIs we have an API called /sendEmail which you can use to send email but it doesn't need any custom jars to send email using this API. We just need SMTP configured in order to use it. Also it doesn't have the ability to send attachments through this API.

https://documenter.getpostman.com/view/20052500/2s93RQUa2t#f93975d6-6ef2-4f36-8597-676a9b77044a

So can you please confirm what exactly are you trying to achieve using APIs here and what it has to do with analytics.

Thanks,


Regards,
Pruthvi

Sakshi28
New Contributor III
New Contributor III

Hi @pruthvi_t ,

Thanks for the response.

What we want to achieve is utilize Saviynt APIs. We will be sending mail via Custom Jars. The documentation you mentioned doesn't provide any information on attachment. 

Currently when you run any analytics report the recipients receive mail along with data/report as file attachment . We want to replicate the same but with Custom Jars.

 

 

@Sakshi28 ,

can you please elaborate on the requirement here. Why are we not able to leverage OOTB features instead of going for custom jar.

So kindly explain the business usecase and what are the limitations in OOTB features to achieve it.

thanks,


Regards,
Pruthvi

Sakshi28
New Contributor III
New Contributor III

Hi @pruthvi_t ,

We have a dependency on Custom Jars and as there are multiple values which needs to be calculated .We then create a consolidated csv and this needs to be send back to feed owner. Also this csv is pulled form a separate DB . Hence OOTB will not work.

Also , We will be migrating to EIC , hence need to check if we have provision where we can use oauth 2.0 to authenticate and then send csv as an attachment using Saviynt APIs.

Moreover, This file sometime contains more then 100 records ,we can not send all the details in mail body . Hence attachment too is required in our scenario.

Thanks

Sakshi