+ Start a Discussion
Diego NietoDiego Nieto 

Create an email activity using a different email provider

hello everyone

In my company we use an api to send Email to our clients. We need to create a trigger that send an email through this API and after that we need to create an Activity History record of Email type. 

when we use SigleEmailMessage it has the setSaveAsActivity flag, but we need to do it with ut use this class.

How I can do that?

Thank you