Skip to main content
9 votes
Accepted

Do we have any option in salesforce to make the mail as important in apex code?

Using Messaging.SingleEmailMessage, you can use emailPriority method to set it. Messaging.SingleEmailMessage mail = new Messaging.SingleEmailMessage(); // Set other values of mail Mail....
Raul's user avatar
  • 18.8k
7 votes

Can we Enable Send Log Per Business Unit in Marketing Cloud?

There are 2 types of Send Logs Available in Marketing Cloud. Account Level Send Log (AKA Enterprise Send Log) - This is enabled for an account and all sends (even from child Business units) will be ...
Unais Komath's user avatar
7 votes

Test class Limits.getEmailInvocations() showing zero and assertion is failing

The reason is because the test.starttest and test.stoptest create a new apex context. Inside the context it will show 1. so try: Test.startTest(); update recordsToUpdate; System.assertEquals(1, ...
gNerb's user avatar
  • 9,508
6 votes
Accepted

Send an Email in Hindi or Other Language

I think you're email encoding settings are set to ISO-8859-1. This only supports latin languages (like English). If you change this to UTF-8 than you should have full support for Hindi and any other ...
Kasper's user avatar
  • 2,907
5 votes
Accepted

Sending email based on Timezone of IP address

You can't send based on the recipient because you won't know what timezone the recipient will be in until they open the email. If the subscriber has their timezone stored as a profile attribute/data ...
Amtera's user avatar
  • 938
5 votes
Accepted

Add date of send to Sendlog for every record?

Yes, you can just add an EventDate column to your Send Log and have it default to Current Date. That's the easiest. You can also create an AMPScript variable in your email named EventDate and set ...
Adam Spriggs's user avatar
  • 30.8k
5 votes
Accepted

Email send throttling finishing 1hr earlier

Send throttle doesn't spread the batch sends throughout the hour, it basically sends the 1st batch as soon as possible and waits for another hour to send 2nd batch and follows the rest. In your ...
Brad Sapkota - altus.digital's user avatar
5 votes
Accepted

MassEmailMessage vs “Too many Email Invocations: 11”

Your entire test method is treated as a single transaction. Since you have the insert inside the for loop, you are executing sendMail 11 times in this single transaction, and thus you get the error. ...
David Cheng's user avatar
  • 7,153
5 votes
Accepted

Image disappear when the email is sent

Why not just use inline AMPscript to output the @ImageURL value? Removing the double-quotes to make the concat function work is likely the issue: <!--[if mso | IE]> <td style="vertical-...
Adam Spriggs's user avatar
  • 30.8k
4 votes

How hard bounce emails are treated by Marketing Cloud?

Once set to Bounced, Marketing Cloud stops trying to deliver only that email message which bounced. It'll try again with the next email (depending on subscriber status) A Hard Bounce happens as soon ...
Maneesh's user avatar
  • 2,176
4 votes

How to find out what Sender Profile/Send Classification was used for a send

Through a Query Activity you will be able to extract the Send Classification and the Send Definition for any specific job, by looking into the Data View: Job http://help.marketingcloud.com/en/...
Christoffer Good's user avatar
4 votes

Emails from flow not sent to gmail email addresses

I figured out that, If the sender was using one of our company domain email addresses, emails were not received in gmail and were spam in outlook. However they are received properly if the sender is ...
Gabriel Serrano Salas's user avatar
3 votes
Accepted

Salesforce Contact's Email Sends empty

The Email Sends list will only populate with email sends made to individual contacts / leads. If it's added onto the page layout, you will see that Send Marketing Cloud Email link in addition to the ...
AnonWonderer's user avatar
  • 2,133
3 votes
Accepted

What custom fields can I include in the SFMC send log?

You can add additional fields using the name Marketing Cloud uses for these values, so they are populated automatically. For the send date you can add a Date column and set a default value of GETDATE()...
Markus Dang - formerly Slabina's user avatar
3 votes

Messaging.sendEmail(<list of emails>) - Is it all or nothing if errors encountered (e.g. bounces)?

Looks like the official documentation for this method has been updated since the last accepted answer: public Messaging.SendEmailResult[] sendEmail(Messaging.Email[] emails, Boolean opt_allOrNone) ...
smukov's user avatar
  • 5,613
3 votes
Accepted

UNABLE_TO_LOCK_ROW during send email

The Salesforce Record Locking Cheat Sheet is incredibly useful for troubleshooting this type of issue. It appears to me that what is happening is your Contact is being briefly locked as a result of ...
David Reed's user avatar
  • 93.2k
3 votes
Accepted

Clarification on SFMC Send Classifications and how many are needed

A send classification (SC) is basically 3 things: Type of messaging [MT] (Transactional vs. Commercial) Sender Profile [SP] (From Name/Address and Replyto instructions) Delivery Profile [DP] (IP ...
Gortonington's user avatar
  • 30.7k
3 votes

How to get missing Buttons "Reply", "Reply All", "Forward" on Emails at the Activity Tab in Lightning Experience?

I don't know what led me to try this, but adding the Send Email action to our Global Publisher Layout did the trick for me.
brettbarlow's user avatar
3 votes
Accepted

What kinds of locks are used on Data Extensions and Sending?

Marketing Cloud does not enforce referential integrity, so you can perform simultaneous operations on the same Data Extension, and suffer consequences. You're right, this can result in contention ...
Eliot Harper's user avatar
  • 16.6k
3 votes

How to see tracking of emails sent through marketing cloud in sales cloud at lead & contact level?

If you have already done the integration, you are just probably missing this step: https://help.salesforce.com/articleView?id=mc_co_update_page_layouts.htm&type=5 You can find all the info about ...
Jeremy Garcia's user avatar
3 votes

How to test and assert email template?

In your setup() method, use System.runAs first to just insert the email template. ie Segregate Setup Object in one block and then rest are non setup objects which can be upserted properly without any ...
Pranay Jaiswal's user avatar
3 votes
Accepted

Salesforce DEs are not visible in Automation Studio when configuring an Email Send

They should still be available as their own activity called Salesforce Email Send. You might need to get that enabled in your account because I see it in some accounts but not others.
Matthew Wash's user avatar
3 votes
Accepted

Messaging.sendEmail not sending emails for non-admin profile in sandbox

There's a note at the bottom of this help document that clarifies there was a recent change (Summer '19) that is causing your issue Please note as of Summer Release 19', Users must have a verified ...
Kris Goncalves's user avatar
3 votes

How to incorporate styling into Messaging.sendEmail()

It's definitely your mail client(s). I tested your code in my org, and then used Gmail's "view original" feature to take a look at the raw message, and I got this: ------=...
sfdcfox's user avatar
  • 497k
3 votes
Accepted

Can you populate SendLog DE with a different value than the one in target DE matching field?

First of all, there are four ways of populating a custom field in the Email SendLog: 1.1‏‏‎ Matching field name in the Sendable DE 1.2‏‏‎ Matching attribute name passed in the API's Payload (e.g. ...
Niko's user avatar
  • 2,734
2 votes

Marketing Cloud Send Email

You will need to Validate the email. Open the email in Email Studio and select the validate button: Then choose the Data Extension that you are using for your Event Source in your Event used by the ...
Eliot Harper's user avatar
  • 16.6k
2 votes

Sending Email using Email Author in custom button

Also you can add "&new_template=1" if you want attachments from email templates to show up.
Daniel Howell's user avatar
2 votes

What will happen to contacts which are in middle of a Journey and we update the Journey in Journey Builder?

The previous answer is partially correct; updates to emails don't automatically get published as these are Triggered Send Emails. However, I would not recommend stopping the Interaction as this will ...
Eliot Harper's user avatar
  • 16.6k
2 votes

Marketing Cloud Report Not Sendable

We had the same issue and the problem for us was that the user who got "sendable no" didn't have language set to English in their Salesforce login. Hope it helps for you.
Sofia S's user avatar
  • 21
2 votes
Accepted

How do I stay within governor limits if there is no method which returns the number of Emails sent?

From the salesforce docs: Using the API or Apex, you can send single emails to a maximum of 5,000 external email addresses per day based on Greenwich Mean Time (GMT). If you use ...
Santanu Halder's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible