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
Aishwarya Rao 6Aishwarya Rao 6 

Salesforce sending blank emails

I have created an email template and used it in approval process.When i test the template it works fine.But when I test it with a different user they are getting blank emails.Can anyone help me what is the issue? where I might be wrong?

Thanks & Regards,
Aishwarya Rao R
Jason HardyJason Hardy
Is the template visualforce based? If so, does the profile have access to the visualforce page? Otherwise, does the sending user have access to the folder that contains the tempalte?
Keyur  ModiKeyur Modi
Hi,
please share your code so that one can identify the issue.

Thanks,
Keyur Modi
Aishwarya Rao 6Aishwarya Rao 6
Hi,

The Campaign has been assigned to you for your approval.

Please review the details

Promotion Name : {!Campaign.Name}
Promotion Type : {!Campaign.Promotion_Type__c}
CreatedBy : {!Campaign.CreatedBy}
Budgeted Cost : {!Campaign.BudgetedCost}
Promotion Objective : {!Campaign.Campaign_Objective__c}
Promotion Medium(s) : {!Campaign.Communication_Medium__c}
Approver 1 : {!Campaign.Approver_1__c}
Approver 2 : {!Campaign.Approver_2__c}
Special Approver : {!Campaign.Special_Approver__c}
Packages Added(if any) : {!Campaign.Package_Details__c}

No it is not a visualforce.Approver2  for few users its generating the mail.For few its sending empty mail.
Jason HardyJason Hardy
Are you storing the template in a folder?