Activity Forums Salesforce® Discussions How to send email attachments through Salesforce Apex code?

  • PRANAV

    Member
    December 6, 2016 at 5:19 am

    Hi Kumar,

    You can send email attachments through apex by using setFileAttachments(fileNames); method in your apex code.

    For more guidance please refer SingleEmailMessage Methods of Salesforce Guide.

    Hope this helps you.

    Thanks

  • Kumar

    Member
    December 6, 2016 at 6:22 am

    Thanks Pranav !

     

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos