Questions tagged [emailfileattachment]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
28 views

How to attach a dynamic file in a email template?

I'm trying to attach a file to an email templates. This email template will be used in a workflow, so what I need is to send it everytime a condition is met in a opportunity. The file I need to ...
2
votes
1answer
32 views

Prevent attachment of Certain type while sending email

I have been trying to prevent an attachment of type pdf while sending emails within Cases. I create an email, attach a pdf document. The process builder fires on Email creation which in turn calls a ...
0
votes
0answers
25 views

Attachments are not visible if setWhatId is not defined while email from Apex

I am sending email to selected Contacts (Custom Component) via Apex. User will also be attaching multiple files to the email. If setWhatId(setting it to Case) is defined, EmailMessage Activity shows ...
0
votes
0answers
20 views

Salesforce Outlook Event Calendar sync with attachment

Currently Salesforce does not support attachments sync from sf event meeting to outlook meeting. I am trying to address it with custom solution. While creating new event, I want to put the link to ...
0
votes
1answer
51 views

DocumentAttachmentMap Query for Attached File

I can attach a file to a Lightning emailTemplate using one of the emailTemplate editors in Salesforce but I have not been able to find the attachment record that makes this relationship possible. If,...
0
votes
0answers
13 views

Capture attachment from email and save it in notes and attachments section [duplicate]

My use case is: I have a case in Salesforce. I want if someone from outside the org sends email with the attachment in the email and the case number, Salesforce somehow captures the attachment ...
0
votes
2answers
35 views

Trying to send attachment in Notes and attachments section via email alert

I have setup a task custom object. When the user changes the status of task from pending to completed, an email alert needs to be sent to the person with the attachment that is available in the 'notes ...
0
votes
1answer
95 views

How to create interpersonal documents (PDF Files) and how to attach them into email using a SFTP server?

In Marketing Cloud : I would like to create interpersonal documents (customer contract in PDF) and attach them into email in automation, (in the same time that I send my email scheduled in journey ...
2
votes
1answer
38 views

I'm trying to add a link (to a webinar) in a Calendar invite attached to an email

Starting with Doug Ayers' Visualforce solution (thank you, Doug!) (https://douglascayers.com/2015/01/09/salesforce-send-calendar-invites-in-visualforce-email-templates/), I create the invite as a ...
0
votes
0answers
27 views

Attaching a pdf dynamically into a transactional email (Triggered send)

I need some suggestion here. I need to attach a pdf(for e.g. a invoice copy) on user demand. Which I am trying to implement it via Triggered send. Sender system can send the PDF along with the ...
4
votes
2answers
365 views

Why SingleEmailMessage.setFileAttachments() does not create visible attachments in the Activity Tab in Lightning Experience

I'm sending emails like this: Messaging.SingleEmailMessage m = new Messaging.SingleEmailMessage(); m.setToAddresses( new String[]{'heim@elastify.eu'} ); m.setSubject( 'test' ); m.setHtmlBody( ...
1
vote
1answer
164 views

How to read Body of Email

I have emails attached in notes and attachments object. When i try to read the body of Email i get Blob values suggest me ways to convert the blob into text.
0
votes
1answer
398 views

Create a Salesforce file from an email attachment

I am using the custom email service to receive an email with an attachment. I can create a custom object record and associate the email attachments with it. Since the direction is to move away from ...
0
votes
1answer
527 views

How to attach a file to an email within a workflow

I've customized fields in an opportunity. Within a workflow when an opportunity reaches 100% I send automatically an email using the custom fields. I need to attach automatically a file (or several) ...
0
votes
1answer
87 views

How to copy attachments sent with an email from child case to master case

I am developing a functionality where I need to copy emails(emails+attachments) from a child case to parent case on merging. Right now what ever I have developed I achieved copying emails from child ...
0
votes
1answer
627 views

Can an Apex Email Handler parse an attached Excel file?

I would like to set up an email handler class to receive emails from a supplier with attached files in Excel format. We already have similar functionality that handles CSV attachments from another ...
0
votes
1answer
31 views

Linking attachments to Lead sent through Installed Package: LeadFromEmail

I'm a total newbie to Apex and would really appreciate some help. I am using the Installed Package: LeadFromEmail In the settings I have enabled attachments to be processed, however attachments are ...
0
votes
2answers
594 views

Exception: No body supplied for the file attachment.: [fileAttachments] [duplicate]

I have an Apex class that contains @future annotation method to send email. A Visualforce page is rendered as pdf and is sent as an email. I'm getting an exception in test class- System....
0
votes
1answer
443 views

Issue with EmailFileAttachment class

I'm building a test class for a controller that consists of a method for sending email. I need to provide test data for that email method. The test code is- List<String> listEmail = new ...
-2
votes
1answer
462 views

Initial expression is of incorrect type, expected: Messaging.EmailFileAttachment but was: Attachment

The below code gave me this error: Initial expression is of incorrect type, expected: Messaging.EmailFileAttachment but was: Attachment Specific error line: eMessage.setFileAttachments(new ...
1
vote
0answers
81 views

Add existing attachment in visualforce Email template via workflow

I have a scenario that when billing is generated in system. Invoice should be send through mail to Person Account Email. I am doing this via workflow. In workflow I have a VF email template which ...
0
votes
1answer
107 views

Email with static resource image from asyncrhony mode

I have process that update checkbox field in object. When this happen it invoke workflow that send email with attachment, and inside the attachment images from static resources. The process which ...
0
votes
1answer
736 views

Warning when opening Apex generated Excel .xls?

I am trying to send an E-Mail with an Excel Attachment. Everything works, except I am getting a warning when I am trying to open the send attachment: The file format and extension of 'ExcelfileSC....