function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
07010701 

How to send VF Form in Email

Hi,

 

I have designed a Visualforce page where I have many InputText controls. I want to send same UI of form in an email on click of submit button on page. It can be send either as attachment or in email body but I am getting below error ...

 

System.VisualforceException: URL starting with 'http://c.cs0.visual.force.com/apex/CustomerCreditApplication?com.salesforce.visualforce.ViewStateCSR'... is longer than the maximum allowed length of 4,096.

 

ASPA answer is highly appreciated.

SfdcBlueFishSfdcBlueFish

Hai 0701,

 

Please try with VF email template,where u can send ur VFEmail template using button click ,and also u can u can send that VF as PDF attachment in email.......

 

Please go through this link,

 

http://www.salesforce.com/us/developer/docs/pages/index_Left.htm#CSHID=pages_email_and_templates.htm|StartTopic=Content%2Fpages_email_and_templates.htm|SkinName=webhelp

07010701

Thanks for the Reply.

 

I am not saving the information anywhere. It is just a form which will be filled by end-user and need to send in email. VF template works when values are saved in Salesforce.

 

Please suggest.

yamini prakasam 10yamini prakasam 10
hey did you solve this i olso need to do same thing