+ Start a Discussion
Iqrar AhmedIqrar Ahmed 

Access Mail merge from apex

Hi to all,

I am currenlty printing a number PDF recipts at a time for our donation managment system by rendering visualforce page as pdf, now i have requirment that i want to print these bulk recipts using mail merge in word document and also I have diffrent types of reciepts i want to change mail merge templates on vriety of conditions. I want to know can i access mail merge functionality in Apex, if yes then please give me authentic documentation.

Please help me regarding this.  
ShashankShashank (Salesforce Developers) 
Please see if this is what you are looking for: http://www.techplustalk.com/2013/10/custom-mail-merge.html