Does EncryptedEmails.Send return a value for success or failure?

  • 1
  • Question
  • Updated 7 months ago
Is anything returned from  sfClient.EncryptedEmails.Send(encryptedEmail.url, sendParams).Execute(); to say if it was successful or not?

Or is it best just to trap for any error?
Photo of Chris

Chris

  • 17 Posts
  • 2 Reply Likes

Posted 7 months ago

  • 1
Photo of Eliezer Encarnacion

Eliezer Encarnacion, Official Rep

  • 732 Posts
  • 102 Reply Likes
Chris,

If the response does not return anything, it means the email was successfully queued for sending. If there is an error, it will throw an exception with a relevant message.

Thanks!
Eli