Hot answers tagged

2

I think you can write a before trigger on EmailMessage to stop sending email to particular domain. Below is the code example: trigger stopSendingEmail on EmailMessage (before insert) { for(EmailMessage message: Trigger.New){ if((message.ToAddress.contains('gmail')) || (message.ToAddress.contains('yahoo'))){ message.addError('Email ...


2

I don't see the requestID at the end of the endpoint URL. You have to include the Triggered Send Definition's external key and the requestID (or recipientSendId) returned in the response to a send. Send Response: { "requestId": "YOURREQUESTID", "responses": [ { "recipientSendId": "...


1

You can do it at least in 2 ways: Split the audience within the Journey. You would create the first Random Split to have 50% + 50% and then from each branch of 50%, you would have another Random Split with 10%+10%+10%+10%+10%+10%+10%+10%+10%+10%. This way you would have 20 more or less similar audience batches. Yet, take into account that Journey Builder ...


1

When generating CSVs, Use the escapeCsv method on all string cells as you won't know in advance whether any database data might or might not have an embedded " or line-break String s = 'abc "def" ghi'; System.debug(LoggingLevel.INFO,s.escapeCsv()); |USER_DEBUG|[2]|INFO|"abc ""def"" ghi" RFC4180 defines valid CSV ...


1

Since community users are Users, if you programmatically send emails to them using their User ID this will not count against the limits. Sending via email address or using Contact IDs, on the other hand, does count against the limits. To minimise use of the limits, even when accepting a list of email addresses, we search for users that match the email ...


1

If language is written to the Send Log, then you can distinguish an open by language with a query that joins the _Open data view to the Send Log. Also, going down this route, you're committing to building a custom process to generate your open rates. More info: Send Logging


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