+ Start a Discussion
Amit ChaudharyAmit Chaudhary 

Is it possible that pass vf page in email to anyone using workflow ?

On my vf page i am genrtaing values for data tabel in pdf . so is it possible that it can be send to anyone using e-mail or i can mail a zip that contain all pdf's collectively .
There is a wrok arround. When you are creating a pdf file in that method get the content of that page by the method of Pagereference class getContent(). And the create a attachment on that record whick will fire the workflow. And then you can send the email from code (by trigger or work flow).

This link will helps you to understand the scenario  http://www.salesforce.com/us/developer/docs/pages/Content/pages_email_sending_attachments.htm        
There is other question like this question  https://developer.salesforce.com/forums?id=906F00000008tHOIAY