I am new to SalesForce. Currently investigating possibility to use SelesForce as Email provider. I am wondering if it is possible to send email via API requests without accessing SalesForce UI. As far as understood from API doc Email template should be created in SalesFoce UI and further referenced in API requests.

Will appreciate any help.

  • Salesforce is not meant to be an email service provider and you will run into many limitations if you try it to use it that way. – David Cheng Jan 28 at 20:51
  • David, thank you for your answer. I am currently gathering information to asses the feasibility of using Sales Force as messaging service provider. The goal is to figure out if it is possible to send email message using API and track message delivery status using API. Do you know if it is possible in theory? Also you've mentioned that we might run into many limitations. Could you perhaps point to couple of them? Thank you! – Ivanm21 Jan 30 at 10:04

You can send email through Apex class using Single email messaging. Once you create apex class for sending email you can schedule the class to send email on time defined by you.

You can schedule a class to send email hourly/daily/weekly/monthly

You can make API request as well to send email.


  • Thank you for your answer. But I am interested it it is possible to pass html body and subject of the email to SOAP or REST API and send it to recipient. In case yes, could you point me to API requests that I should use, thank you. – Ivanm21 Jan 28 at 15:15
  • You may look into this - salesforce.stackexchange.com/questions/112093/… – MIX DML Jan 29 at 6:56
  • and this blog.webnersolutions.com/… – MIX DML Jan 29 at 6:56
  • Would it be possible to track message delivery status of those emails? – Ivanm21 Jan 30 at 10:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.