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
karthikeya 2karthikeya 2 

Dynamically Adding attachment in email template from object

Hi All,

I am creating a case in case object when record is created i will get mail.
1) In the case object i had attachment
2) what ever mail i am geeting. i need to attach the attachment which is in case record.
3) i am using email template in sfdc (adminstrator > communication template > email template)

please help me in doing that.

Thanks in Advance.
AshlekhAshlekh
Hi,

You can create a workflow on case and select a send an email task.

Then use Visual force type email template and follow the below link.

https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_email_templates_attachments.htm

-Thanks
Ashlekh Gera
karthikeya 2karthikeya 2
I Need in standard functionality not using vfpages.
Natasha LeggNatasha Legg
Did you ever find a soultion to this? If so, can you please share