Questions tagged [emailmessage]
Represents an email in Salesforce.
132
questions
-1
votes
0
answers
17
views
How to disable/stop automatic task creation when Email-to-Case and Enhanced Email are enabled
We have the Email-to-Case(Routing Address is in Verification state) and Enhanced Email enabled. It seems Salesforce is automatically creating a Task for EmailMessage. Is there any possibility to ...
0
votes
0
answers
25
views
Messaging.sendEmail(mails) takes too much time for 1000+ mails
I needed to send bulk emails, Which would be anything between 1000-2000,Suppose 1500 for testing.
I was using sendEmail(mails) method of Messaging Class
Messaging.SendEmailResult[] resultMail = ...
0
votes
0
answers
60
views
Preview Lightning Email Template in Screen Flow
I try to preview a Lightning Email Template within a Screen Flow, so that the user can see it, before sending the Email via Flow.
Currently, I have to rebuild every Email Template as a Text Template ...
0
votes
1
answer
68
views
Not able to create an EMAIL MESSAGE using SSJS in Marketing cloud?
I am trying to find a way to create an email with a click from the browser using Javascript client side & server side ( AJAX ), but now having issues with SSJS, I tried to retrieve the id of the ...
0
votes
0
answers
23
views
Is it possible to create a templated based email message using only ampscript?
Is it possible to do that, creating a script where we can set up the name of our email message and pick the template based on its id o something, then create it in the content builder ? with only a ...
0
votes
0
answers
21
views
Email to Case - Object EmailMessage - Field From Address not fill with route email
I have email to case configured, and all works fine, besides the object "Email Message" when in some occasions when a user try to respond a email the "From Address" field is fill ...
0
votes
0
answers
29
views
how can i choose one email from all email Map list?
I'm just starting with salesforce and need some help.
I need to get one related email from Map email list. I manage to get all emails with this query, but don't know how to get one I needed. Any help ...
0
votes
0
answers
29
views
How to Group EmailMessages using ThreadIdentifier in Activity TimeLine
I have exported historic emails from external system to Salesforce. Though, the ThreadIdentifier field is common for EmailMEssage records in SF, they are showing as Individual message/email but not ...
0
votes
1
answer
52
views
How to solve : FATAL_ERROR System.FinalException: Cannot modify a collection while it is being iterated
My Goal is to remove certain email address from To when user click on Reply All
Map<Id, EmailConfiguration__c> mapEconf = C3S_EM_EmailConfiguration.getAllEmailConfigsByIds();
List&...
0
votes
0
answers
22
views
Is there some way to access the email, composed by standard action from the Activity tab, before it's sent to the recipient?
There are several standard actions to send emails from Salesforce. For example, the action from the Activity tab.
As I understand, there are two objects responsible for email handling: OutgoingEmail, ...
0
votes
0
answers
40
views
Get all emails sent with Messaging.InboundEmailResult
I have an Email Servise with Apex Handler.
And it sends a reply email to the original sender.
global with sharing class LogActivityEmailHandler implements Messaging.InboundEmailHandler {
global ...
0
votes
1
answer
109
views
EmailMessage Bounce Reason. How to find it from the email, not associated to a Contact/Lead/Person Account?
On a Contact/Lead/Person Account object there is an "EmailBouncedReason" field along with an "IsEmailBounced" field, which makes it possible to understand a cause and fix it.
But ...
2
votes
3
answers
617
views
Salesforce Storage Issue - Hitting Data Storage Limits with Email Messages
We continue to have our data cap hit for Salesforce data. Prior to spending more on storage, I want to ensure I am doing my due diligence.
We just purchased 3 more units of storage last month that ...
0
votes
0
answers
27
views
Individual Email Message Related List On Lightning App Page
I have added the "Individual Email Message" related list to a Lightning Record Page, and also added it to the Classic Page-Layout, but when I open a record with this Lightning Page/Page-...
0
votes
0
answers
32
views
Unable to update FromAddress field on EmailMessage Object
I want to create an apex class that updates the FromAddress in EmailMessage object (due to marketing cloud appending our domain to an incoming email's From Address causing the email address to be ...
0
votes
1
answer
122
views
When file is uploaded need to send an email with attachment with file format
I have a task that when i upload a file with excel or pdf or any format at that time it have to send an email with attachment with the file type which i upload .
Below is my code:-
trigger ...
0
votes
0
answers
78
views
Case.SourceID does not exist? Determining if EmailMessage record created the case
In one org, I have used Case.SourceID (queried SELECT Parent.SourceId FROM EmailMessage), which would tell me the ID of the EmailMessage that was the original case origin email.
In another org, the ...
1
vote
2
answers
3k
views
Get record type developer name in Flow instead of RecordTypeID
I am creating a flow on EmailMessage object. I want to retrieve the record type name in the flow instead of RecordTypeID.
Is there any way to get the name instead of ID?
0
votes
0
answers
167
views
Copy/Clone Attachments from Email-To-Case Email Message in Flow
I am trying to create a flow that will 'reparent' an Email Message record to a different Case record.
As it is not possible to reparent/change the ParentID of an Email Message once it has been created,...
0
votes
1
answer
233
views
salesforce Dataloader : field 'Description' can not be filtered in a query call
I am using dataloader to look for and extract certain emails(tasks) that must have the word "igloo" in them, I tried to do 'description' contains "igloo" and got an error saying ...
1
vote
0
answers
124
views
Winter 21 release ''Disabled Ref ID and New Threading Behavior for Email-To-Case" [closed]
When I enabled this critical update on my sandbox, I am facing some issues even though I have disabled it.
The issues are as follows:
1.The auto-response email is missing under the case feed.
2....
1
vote
1
answer
407
views
EmailMessage not showing on lead's Activity Timeline
I am trying to log an email message on a lead/contact. The EmailMessage is getting logged correctly but it's not showing on the Activity Timeline for the lead/contact.
EmailMessage m = new ...
0
votes
1
answer
414
views
How to associate EmailMessage with Lead record though apex?
I am creating a new EmailMessage record from my apex code and I want that this record should be associated to a Lead record. As per documentation, we can not use RelatedToId
RelatedToId :
The ...
0
votes
1
answer
93
views
Inbound eMail Handler - monitor incoming mails
I add a inbound email handler into my org to add a new record in a custom object (bt).
Sometime the mails are not processed and I don't know why. Is there a way to check the incoming mails in ...
0
votes
1
answer
131
views
What types of e-mails are counted against the daily SingleEmailMessage Limit?
I tried googling but couldn’t find a clear answer to what all emails that are sent from Salesforce count against the SingleEmailLimit of 5000 per day. Does workflow rule e-mail alerts count against ...
0
votes
1
answer
74
views
EmailMessage Data Storage Isuue in Production
Currently we are facing storage issue in the production org. EmailMessage has consumed most of the data storage there.
As of now we don't want to store the old data to another storage as client need ...
0
votes
0
answers
77
views
Can historical EmailMessageRelation records be migrated? (CreatedDate is not writeable even with relevant permissions)
I am unclear how one can migrate EmailMessageRelation records because the 'CreatedDate' field is not writeable even with the relevant permissions ('Edit access on Read Only fields' and 'System Audit ...
0
votes
1
answer
717
views
EmailMessage object access in Case Trigger after insert
Of course people will suggest to use EmailMessage trigger but if I update case from there then the problem is in case auto response rule as our requirement is mainly to fire the autoreply after the ...
0
votes
1
answer
387
views
Query Case Record Type Name for the Parent Case of an Email Message in SF
I want to query the Case Record Type Name for the Parent Case of an Email Message. I am trying with the below query but it is not returning me the name :-
select id,subject,parentid,parent....
0
votes
1
answer
142
views
After Insert Trigger on Email Message to Update a field on Case [duplicate]
I have one custom checkbox field on Case named Check__c and I want it to be checked if the From Address of the incoming email message linked to that case is equal to the Case Owner's email. there is ...
3
votes
1
answer
174
views
Impossible to test Task created from Messaging.sendEmail?
I have added some fields for Compliance to EmailMessage and Campaign objects. When a list email is sent, a batch job finds the tasks and copies those fields from the campaign related to the list email....
0
votes
0
answers
514
views
Set EmailMessage Visibility
I have two users who share the same profile and have access to Cases.
When one user sends an Email to the Case's Contact from the "Activity Composer" an EmailMessage appears in the Email ...
0
votes
1
answer
671
views
Receiving ILLEGAL_OPERATION error on EmailMessage Update from ContentDocumentLink trigger
I've been trying to make a fix for a known error when logging emails from the Outlook integration where embedded images display as broken links in the feed. My solution for this would be a trigger ...
0
votes
1
answer
548
views
EmailMessage HasAttachment and Files
Is there a way to create an EmailMessage record with an associated File/ContentVersion AND set HasAttachment when created via Apex? Same example code in this question, however the only answer there is ...
0
votes
0
answers
297
views
How to change the From the emailmessage before sending the email via apex?
When I change the ValidatedFromAddress in the before the emailmessage trigger it goes back to the user's email. The email received comes from the user and not from the changed email. Can you tell me ...
0
votes
1
answer
86
views
Can't get attachment data from outbound email via Apex
Has anybody got experience or ideas how I can resolve the following issue please?
We're trying to query attachments sent via outbound email from the email related list on case, so that we can copy the ...
0
votes
1
answer
274
views
How get Lead Id in apex trigger
When sending an email from the lead screen. Is it possible to get the lead id in the before of the EmailMessage trigger?
0
votes
0
answers
276
views
Object Permissions on EmailMessage Object
No object level permissions appear to exist for the EmailMessage object is this true?
0
votes
0
answers
530
views
Marketing cloud custom font usage
Hi have the font file with otf extension.
Can any one give me a clear steps to upload in marketing cloud and use this in email templates.
0
votes
1
answer
119
views
How to reference RecordTypeId via RelatedToId for EmailMessage
can anyone please shed some light on how to reference the RecordTypeId of the record related to an EmailMessage via the RelatedToId field?
I would like to update the IsExternallyVisible field based ...
2
votes
1
answer
669
views
EmailMessage Storage Issue [closed]
Currently we are facing storage issue in org production. It is reached to 90%. Most of the storage is consumed by emailmessage. We looking different solutions. We are planning to extract the ...
0
votes
2
answers
62
views
Can two email messages be inserted at the same time with email to case?
I am setting up a trigger for when email messages are after inserted and we use email-to-case.
Is there any way that the email-to-case inbound or normal sf outbound message system could result in two ...
1
vote
0
answers
527
views
An email can't have more than 1 sender error
I have an email service.
When sending an email to the email address that SF provided :
sffdc@skuh7gi7z4fo72pt6h2o.1l-8dix.....apex.sandbox.salesforce.com
I need to check the "from address" and ...
2
votes
0
answers
75
views
Email Message sent out even when Approval Request fails
We have an Approval Process (AP) and a Process Builder (PB) on Email Message object. We also have a PB on Case object. The logic is following:
A user creates an Email Message on a Case record and ...
1
vote
0
answers
1k
views
Email Message record creation through process builder
I want to create an email message record after sending an email template.
Is there any way to create email message record through process builder or workflow after sending an email alert. So that we ...
0
votes
0
answers
203
views
Send Email (Emailmessage) to update Lead custom field
The lead object has a field "Interaction count" . It is a number field. I am using this field for an active process builder which is working on the below criteria:
If any Task is created , It ...
1
vote
0
answers
566
views
Make Lightning buttons Reply/Reply All/Forward visible for everyone
As per documentation Reply/Reply All/Forward buttons on EmailMessage are visible only for users who are mentioned in To/CC/BCC.
In our case we need whole support department to be able to reply any ...
2
votes
0
answers
285
views
How to make Reply, Reply All, Forward options available
I have created a new email service which populates a Lead__c field on the emailMessage object. Then i am displaying the emailMessages in a related list component. However, even though im getting the ...
1
vote
1
answer
113
views
Lightning component Service Console, get and edit content of Quick Action Email Message
im trying to develop one Lightning Component for Service Console who is in charge of GET\EDIT entire\parts of Email in Case Management Quick Actions (screenshot) when the user click on the button of ...
1
vote
1
answer
224
views
Tie Email Responses back to Lead Object
I am attempting to allow users from my company's sales department to email potential customers from a lead in service cloud, then if the customer replies to their email i need to display the email ...