Questions tagged [massemailmessage]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
17
votes
2answers
6k views

What's the Advantage of using MassEmailMessage instead of multiple SingleEmailMessage?

I'm scoping out a project that will involve sending outbound email messages, and I'm a little confused about why one would use a MassEmailMessage instead of multiple SingleEmailMessages. If you look ...
15
votes
6answers
15k views

single email limit exceeded salesforce very frequently..?

my email limit is exceeded after sending 10-12 emails..what could be the problem..as i have seen the limit is 1000 emails/day.i am not able to find out what could be the problem..Can some give me some ...
8
votes
2answers
694 views

Ignore user context while sending SingleEmailMessage

Can we send SingleEmailMessage(s) under admin context and ignore current user sharings and profile access. Details: - visualforce email template is related to object B which is not available for users ...
7
votes
1answer
3k views

NO_MASS_MAIL_PERMISSION [duplicate]

I am trying to send an email from a system admin account which has send email and mass email enabled. I get: SendEmail failed. First exception on row 0; first error: NO_MASS_MAIL_PERMISSION, Single ...
7
votes
1answer
826 views

Mass email a group of contact

I created a custom object named ContactGroup where I can add Contact. A Contact can have many ContactGroup and a ContactGroup can contain many Contact (so this is a n-n relationship). Now I would ...
4
votes
1answer
2k views

PDF Attachment send by email and become a PDF.HTML

I'm sending a attachment by email as a PDF. Not sure how and when it's happening, but sometimes it seems to change the extension of my pdf to pdf.html. It used to work perfectly before without to ...
4
votes
1answer
129 views

dailly email limits

I have gotten this error in production SINGLE_EMAIL_LIMIT_EXCEEDED I am sure i have maxed out the daily email limit of 1 000 limit info https://help.salesforce.com/HTViewHelpDoc?id=...
4
votes
1answer
208 views

Can I save a mass email message on the record?

Problem: Our users make extensive use of Salesforce's native Mass Email functionality, but when a mass email is sent out, SF records it as a Task and not as an email (see screenshot.) This poses a ...
4
votes
1answer
195 views

What determines the From and BCC for a mass email

Is there a way to set/change the From or the BCC address for a mass email? Or are these both determined by the user creates the email template being used for the mass email? If the From and BCC ARE ...
4
votes
2answers
2k views

How to use setTargetObjectIds and setBccAddresses in MassEmailMessage

I am trying to bcc a user while sending mass email using MassEmailMessage. Can someone please help. Code snippet : String[] bccAddress = new String[] {'contact@testcompany.com'}; Messaging....
3
votes
2answers
2k views

Is there a way to find out case created from which email-to-case?

I have a email-to-case which shared the Record type from other group. I need to itendify the cases which is specifically created for our team and populate the some field values. for alternative ...
3
votes
1answer
25 views

access to the code of “Mass Email Contacts” componente

I need to use the "Mass Email Contacts" in custom page. Is it possible I have access to the code of this component salesforce for the selected contacts?
3
votes
1answer
681 views

Sending mass emails to OpportunityContactRoles' Contacts

I would like to send mass emails to some of my clients in Salesforce, particularily only the contacts that are related to Opportunities that match a certain criteria. I have a custom number field in ...
3
votes
0answers
440 views

What are the limits of Conditional Merge Fields in Mass Email?

I'm trying to use conditional merge fields in mass emails from salesforce to customise the email based on account characteristics. The aim is that based on checkboxes I can create a much more ...
3
votes
1answer
182 views

How to add ContentVersion data to an outbound email from a Trigger

So I have the following class: public static void sendmail(String documenttitle) { List<Id> contactids = new List<Id>(); List<user> con = new List<User>(); con = [...
2
votes
3answers
98 views

Email integration

I am looking for email integration for possibly sending out thousands of emails to contacts. I know salesforce doesn't want to be the outgoing email provider on that scale. Are there any options to ...
2
votes
1answer
2k views

Sending mass email with Visualforce template

I am new to Force.com and trying to learn some concepts. Currently I am using Single Email Message to send my emails, but I need to change that to mass email, but I don't quite understand how to do ...
2
votes
1answer
3k views

Messaging.sendEmail() returns an error that the target object Id is null when it was set

I don't understand why I would get the following error when in code it is being set and when I use a debug statement to log the SingleEmailMessage, it show a valid value for the field. ...
2
votes
3answers
2k views

Mass email contacts from organization wide address

I want to send a mass email to all my contacts (using the mass email wizard) but would like to have the "from" address be my organization wide address (like info@aaaa.com). How can I achieve that?
2
votes
1answer
586 views

Problems setting targetObjectIds

I am trying to send a massEmailMessage and I have the following code: List <Id> targetObjectIds = new List <Id> (); targetObjectIds = [SELECT Id FROM Contact]; System.debug('...
2
votes
1answer
3k views

Sending mass emails in Salesforce using SendGrid or MailChimp

I am working on Salesforce App where there is a custom object named Distributor (Distributor__c). A distributor has primary email address as one of the fields. When a new distributor record is added ...
2
votes
1answer
430 views

Is it possible to modify outgoing emails via Apex?

Is it possilbe to modify outgoing email message from Apex? I mean capture all outgoing emails (coming from SF standard features, like Mass emails or single email sent via Activity) and modify them '...
2
votes
1answer
99 views

What is the limitation of Mass Emails for Developer edition

Hui Guys, could u help me to know limitations of Mass email for developer edition
2
votes
2answers
803 views

How to handle Email Opt Out for Various Categories

We have a requirement as Contact having 2 checkbox fields as 1. Unsubscribe Newsletter 2. Unsubscribe Webinar Emails If Contact select "Unsubscribe Newsletter" then no mails will send to the Contact. ...
2
votes
2answers
2k views

ExactTarget v5 Salesforce Integration - Send Automated Emails to Salesforce Report

I'm wondering if anyone has found a way to send automated emails using the v5 integration of ExactTarget with Salesforce. Some documentation from the v2 integration seems to say that this is possible (...
2
votes
1answer
767 views

ExactTarget v5 Salesforce Integration - Tracking Analytics and Using Campaigns

My organization recently started using the v5 ExactTarget integration with Salesforce and I'm wondering if there are some best practices on using Campaigns with ExactTarget. At this point, we only use ...
2
votes
0answers
20 views

LMA Packages Latest Version Merge Field Not Populating

I'm trying to create an email template that uses the Lead.Name merge field and sfLma__Package__c.sfLma__Latest_Version__c merge field. When I "Send Test and Verify Merge Fields" - choosing a Lead ...
2
votes
2answers
124 views

No Limit on Sending Individual Emails to Contact, Leads, Person Accounts and Users

As per the documentation: Single emails sent using the Salesforce application don't count toward this limit. There’s no limit on sending individual emails to contacts, leads, person accounts, ...
2
votes
1answer
92 views

Ability to sort a concatenated formula field by numerical value

I have a formula field that concatenates values from various fields within a custom object. Each of these items has a simple numerical value. I've created this formula field to summarize certain items ...
2
votes
1answer
34 views

email questions

i want to email our internal users (200+) with a link to a custom object, but single email doesnt send to enough people and mass email cant set an object id to a custom object. is there a way to bulk ...
2
votes
1answer
3k views

Mass Email to Campaign Members, what's the limit?

I'd like to send a emails to a large number of account and contacts when they are campaign members. I know it is possible to do this via the standard sfdc interface, but it is unclear how many emails ...
1
vote
2answers
2k views

Mass Email user functionality in Sandbox throwing error

When I click on Mass Email Users.. I have this message Your organization's email privileges have been revoked due to non-compliance with our Terms of Use. Please contact your salesforce.com ...
1
vote
1answer
239 views

any limitation on JAVA REST API sendBatch emails

If I use sendBatch to send multiple emails, is there a maximum number of emails limitation in the array? Thanks. https://www.exacttargetapis.com/messaging/v1/messageDefinitionSends/key:{your key}/...
1
vote
3answers
707 views

Send Email only if the field value changes

I have a below trigger created where I use a field called Hiring Manger to identify the user's email id and send an email to the person that a project is assigned to them. But my trigger runs every ...
1
vote
1answer
31 views

Mass Send email with list/table of data [closed]

I would like to send an email to 500 Person Accounts every day. The email contains a personalised list of their appointments for the day. What is the best approach for achieving this using Salesforce?...
1
vote
1answer
66 views

MassEmailMessage does not work with more than 10 targetObjectIds

MassEmailMessage should support 250 IDs per email according to documentation. As of recently, I'm experiencing errors when there are more than 10 users. The SendEmailResult result is always false, ...
1
vote
1answer
345 views

SingleEmailMessage limit

Below links says we can send up to 100 recipients for the To field in Salesforce. https://developer.salesforce.com/docs/atlas.en-us.salesforce_app_limits_cheatsheet.meta/...
1
vote
1answer
3k views

How to add the logo in email body

How to add the logo in HTML email body. I have use an apex class that send an notifications to customers.The below code is send an emails to customers **but in email body the image/logo is not ...
1
vote
1answer
120 views

Sending e-mails to contacts

My org have a lot of contacts - around 2000. All of these contacts have e-mail address. I need to send an e-mail to each of them. An admin will enter a body (on a VF page) and click "send e-mails" ...
1
vote
1answer
1k views

Related custom object with Mass/Single EmailMessage

I need to write an apex method that send an email which is related to a custom object. The email will use a template which used merge fields from the custom object. How can I specify the custom object ...
1
vote
1answer
3k views

Singleemailmethod with BCC and Template ID

I am using a batch class with 4 differnt VF templates to send emails to 4 different regional heads usingsingleemailmethod() so I am using 4/10 singleemail methods in the batch class. singleemail ...
1
vote
2answers
40 views

How Do You Prevent Action Repeat (i.e. Send Email Again) When VF Page is Refreshed?

If I send an email from my VF page - via inputTextArea, commandButton and MassEmailMessage - and then refresh the page, the email gets sent again. How do I prevent this? Please review my code below. ...
1
vote
1answer
282 views

Set “from Email address” in MassEmailMessage

I am trying to send a mass email to list of contacts from the apex. SingleEmailMessage has the option to set OrgWideEmailAddress but I don't see an option in MassEmailMessage. Below is the code to ...
1
vote
1answer
115 views

For setWhatId i am unable to assign custom object record id

HI friends for setWhatId i am unable to assign custom object record id. I am getting following exception. caused by: System.EmailException: SendEmail failed. First exception on row 0; first error: ...
1
vote
1answer
266 views

Email scheduler unable to include the letterhead template for sending emails through scheduled jobs

Email scheduler unable to include the letterhead template while sending emails through scheduler. The header and footer not displayed on emails recieved. Only the dynamic htmlValues can be seen in ...
1
vote
1answer
972 views

Manipulating body of a mass email

I am using MassEmailMessage in APEX and I am trying to manipulate the body of the mass email message. I have successfully done this in a SingleEmailMessage. Here is my code: EmailTemplate ...
1
vote
1answer
793 views

Send a weekly reminder email to all users?

I'd like to send a reminder each Friday to all users of our Force.com system, to remind them to fill in their timesheets. What's the best way to do this? Usually I do workflows, but in this case, ...
1
vote
0answers
11 views

What is the difference between Mass email and single email? [duplicate]

i'm writing some code that is going to be sending email reminders to customers. I don't know whether to use single email with a loop to generate all the emails and send them out as a list or to use ...
1
vote
1answer
300 views

Not sending emails to particular domains from Salesforce

I have a requirement that I don't want to send emails to some particular domain's from Salesforce. My org is not allowed to send emails to some domains , and we send a lot of emails from Salesforce . ...
1
vote
0answers
83 views

How do you send Mass Emails to a list larger than 500?

We currently do not have a third party vendor Mass Email plug-in, so we are working towards using the out of the box functionality for Mass Emailing from Salesforce; we have the Enterprise edition, so ...