function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
<messaging:emailTemplate subject="test" recipientType="Contact" > <messaging:htmlEmailBody > <html> <body> Test data </body> </html> </messaging:htmlEmailBody> <messaging:attachment renderAs="application/msWord" filename="Testfilename"> <html> <body> Test data </body> </html> </messaging:attachment> </messaging:emailTemplate>
If you want to attach the static attachment, then you can use the "Standard Attchment" section in the email template.
If you want to use the dynamic attachment, then you can use the below code.
Hope it helps!
Thanks
If this solves your problem, Please mark this as solution by selecting it as best answer