New answers tagged

0

I had the same problem while sending email based on VisualForce Email Template, where the VF Component inside was performing a callout. When I tested the template, it worked, but when i sent it by code, i got error: "FATAL_ERROR Internal Salesforce.com Error". The solution was to use renderStoredEmailTemplate and after that - send the message. (...


0

You should populate WhatId when you use EmailTemplate in order to merge fields : message.setWhatId(account.Id); Here is link for example : example


0

I would suggest below steps to resolve your problem : Filter your records on basis of criteria Create a future method which will take list of Id of those records. Call this future method in trigger with filtered records. Sample code : Trigger Handler Code List<Id> recordsId = new List<Id>(); for(TestObject__c q : Trigger.new){ if(q....


0

For the email reset: User Utente = [Select Id, email,isactive from user where email = 'PreviousEmailAddress@com.invalid' limit 1]; Utente.email = 'NewEmailAddress@com.invalid'; update Utente; Database.DMLOptions dlo = new Database.DMLOptions(); dlo.EmailHeader.triggerUserEmail = true; database.update(Utente, dlo);


0

In Salesforce approval process We already have an option to add more number of approvers in same step of approval. During approval process configuration you can reach Step 3 as Select Assigned Approver page. In that page you can get below, Choose option Automatically Assign to approver(s) Under the option you can get the option as User (in dropdown) and you ...


0

As there's no field to store the reason on the EmailMessage itself, as you noted, you'd have to request an Email Log for that date (or filter by email address) for more information. Another option is to select the Return bounced emails to sender in Bounce Management (Setup --> Deliverability) which would provide immediate feedback assuming the sender ...


0

If the survey links are in a data extension related to the sending audience by email addres, then you can use the lookupRows function. EmailAddr is a system string that exists for every email send. Assuming your survey data extension is named SubscriberSurveyData: %%[ var @rows, @row, @rowCount, @emailAddr, @i set @emailAddr = AttributeValue("...


2

You can try firing a Platform Event using the email service apex class and listen to that event using lightning-emp-api in LWC. You can then show a toast message once the event is heard. Since you are anyways creating an activity, you can also explore using PushTopics instead of Platform events (Depending on the current limits you have in your org). Check ...


0

Another possible reason for this issue: I was trying to create the Email action for a managed object which didn't have activities enabled. It threw the same (generic) error. Once I checked the 'Track Activities' checkbox for the object, I was able to successfully create the Action.


1

The issue is that Welcome Emails on lists are only able to use Classic Emails. The reason this is a major issue is that SFMC has sunset the classic content and Classic Emails to no longer be able to be used. This means that essentially this capability can no longer be used. Your best bet is to complain to your Account Rep and see what they can do. Other then ...


1

You can use the "Compliance BCC Email" feature To enable compliance BCC emails for your organization: From Setup, enter Compliance BCC Email in the Quick Find box, then select Compliance BCC Email. Select the Enable checkbox. Enter your compliance email address. Click Save. Reference Link : Salesforce Help


0

Here's how to pull a NotSent tracking extract: https://help.salesforce.com/s/articleView?id=000313980&type=1 If you're feeling daring and your data-set is small, you can also retrieve NotSentEvent data using the SOAP API. Example SOAP body: <RetrieveRequestMsg xmlns="http://exacttarget.com/wsdl/partnerAPI"> <RetrieveRequest> ...


Top 50 recent answers are included