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
ChamizChamiz 

Access custom objects in e mail template

I got a problem with accessing data in the custom object in e mailtemplate which sends from Salesforce Sites. In my site I update thedata of custom object using a VF page and then create a e mail templateusing that data. Custom object updates with the relevant data but email template does not include the custom object data.  When I see thepreview of the VF page (In Salesforce Sites) it produce correct e mailtemplate with custome object data. But when I access the sames page using the public URL itgives me the problem. Custom object updates with the relevant data even when I use public url.Also I checked the accessibility of customer object in SalesforceSites. But its ok.
Since data of  customer object is updating in the public url and thesite preview produces correct output , this may be another problem inSalesforce....

Please help me on this.
ChamizChamiz
Where is the Salesforce Admins.................................