+ Start a Discussion
VRKVRK 

sending Email along with Attachments to the Contacts through Batch Apex

Hi 
Is it possible to send Email  with  Attachments to the Contact through Batch Apex.
lets explain little bit clear :
Test contact already have File 1 & File2.
So, 
I send to Send Email to ' Test Contact' along with  File1 & File2 ....through Batch Apex.

I am not sure, is it possible or not?
if possible, can some one provide any sample code for this requirment

Thanks
VRK

 
sachinarorasfsachinarorasf
Hi VRK,
You can go through the below link. Here you will get the step-by-step explanation.
https://digitalflask.com/blog/send-email-attachments-salesforce-apex/

I hope you find the above solution helpful. If it does, please mark it as Best Answer to help others too.
Thanks and Regards,
Sachin Arora
www.sachinsf.com (http://www.sachinsf.com" style="text-decoration:none)