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
YumiYumi 

Help with pulling attachment in Email Button with Template ID

I have a custom email button that pulls a specific template into the email. This template has an attachment that comes with it but for some reason when clicking this custom email button the template does not pull through. How do I get the button to make sure the attachment pulls through with the Email template as well?

 

Here is the code I have right now:

 

 location.replace('/email/author/emailauthor.jsp?retURL=/{!SDN__Room__c.Id}&p3_lkid={!SDN__Room__c.Id}&rtype=003&p24={!SDN__Room__c.Hotel_Email__c}&template_id=00XA0000000PKPw')

 

Any help would be appreciated :) thank you!

YumiYumi

Correction to this sentence: This template has an attachment that comes with it but for some reason when clicking this custom email button the attachment does not pull through.