Questions tagged [massemailmessage]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
10 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 ...
0
votes
0answers
17 views

How to send a single email to multiple receipents

I have a requirement to send a single email to the account owner and cc multiple users Currently, I'm using a single email message. I know we can use the cc method directly but it's actually ...
0
votes
0answers
16 views

Two email message records are creating?

When I send mail from salesforce two email message records are creating, But I am sending one mail only not sure what is the problem please help. Update It is happening only if i send mail to email-...
0
votes
0answers
31 views

How to test Email Services for outbound email in salesforce? [duplicate]

This is the first time I am developing Apex outbound mass email class. Could anyone help how to test the class? Here is my code: public class SendMassOutboundEmail { public static void MassOutbMail()...
0
votes
1answer
34 views

MassEmailMessage vs “Too many Email Invocations: 11”

I don't know, how to fix it: my messages are in List. Helper: public with sharing class Helper { public static void afterInsert(List<P__c> newList, Map<ID, P__c> newMap){ List<...
0
votes
1answer
91 views

MassEmailMessage and “Too many Email Invocations: 11”

I try to test bulk-scenario, but there is an error msg "System.LimitException: Too many Email Invocations: 11". Can I use MassEmailMessage or I need to use only SingleEmailMessage with adding it to ...
1
vote
2answers
39 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
30 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?...
0
votes
1answer
65 views

Mass email Opportunities with Email template

I have some custom fields on the Opportunity page layout; one captures the contact name and one is for the contact email. These are formula fields that query the contact roles related list. Once the ...
1
vote
1answer
62 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
260 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
329 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/...
0
votes
1answer
55 views

Capture mass email responses in lead

I have many leads and i want to send them introduction email about our company services. I will use Mass email function of Salesforce. My question is if any lead response on the email, can we capture ...
0
votes
1answer
51 views

Unknown exception Mass email constructor

I am trying to send an email with apex controller and VF interface. But when I send the message, I have an error : System.EmailException: SendEmail failed. First exception on row 0; first error: ...
1
vote
1answer
112 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: ...
0
votes
0answers
89 views

Options to send mass email to external email ids

I am exploring the options to mass email to people outside of the org. I have a custom object - Employees which has custom field - Email address. I would like to send email(email alert) to the email ...
1
vote
1answer
291 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 . ...
0
votes
1answer
57 views

Setting FromAddress for MassEmailMessage

Is there a way to set the From Address when sending MassEmailMessage via a batch job? Ideally I want to use OrgWideEmailAddress but I don't see any method to apply that. Neither can I find a way to ...
1
vote
0answers
82 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 ...
0
votes
1answer
52 views

problem with mass email message…?

i have a 100 contacts i want to send a email to all 100 contacts which user selected.in this case which email(single or mass) i need to choose.if choose single email message i can only send 10 emails ...
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
122 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, ...
-1
votes
1answer
487 views

Test class to test email messaging

How do I test a email messaging trigger? Below is my code and I am trying to test the code for sending email. How do I perform the assertion? I have the below trigger: trigger ...
1
vote
3answers
673 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
277 views

Sending email from Salesforce through mass email appears in a Junk folder

I sent survey email to my customer through Salesforce mass email function but I get only few responses back. When I called to some Customer they said the did not receive any survey email then they ...
1
vote
1answer
248 views

Batch Job-Mass email Contacts

I have a batch job that emails contacts using a visualforce template. I am using SingleEmailMessage to email contacts as the template pulls data from each contact. my batch size is 10 and we have ...
1
vote
3answers
959 views

Mass email the Visualforce email template

We have a limitation using Visualforce email template. VF Email Template can't be used for mass email. I am look for the ways how this can be achieved. I have created a visalforce email ...
0
votes
0answers
62 views

mass email for multiple eligible users are not triggered

I have written batch class for deactivating users.I am sending mail to users who is going to be deactivated(alert) or who will be deactivated immediately.I am also writing mass email for deactivation ...
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 ...
0
votes
1answer
780 views

Apex utility class for email send

I have below method to send email. Now I need to do the same from a separate utility class where I will have to pass toAddress , ccaddress , parameter string which has a map with Email template , ...
0
votes
2answers
38 views

Getting error Attempt to de-reference a null object on going to VF page Test19.vfp

I have written Apex class and VF page.I am trying to access VF page using https://c.ap2.visual.force.com/apex/Test19 but it gives error saying 'Attempt to de-reference a null object' Apex class: ...
0
votes
1answer
504 views

How to disable the send mail for importing data

I'm newbie was salesforce and i create the Email alert with the condition is working fine.But it was sending mass mail when i import data by data loader. In my salesforce we use the dataloader to ...
0
votes
1answer
108 views

SingleEmailMessage Limitation in developer and in production Environment

Good day everyone, I am using SingleEmailMessage in developer and it seems that there is a limit of emails that can be sent. I just want to know if is it still limited in the production environment ? ...
0
votes
1answer
232 views

Can using mass email cause emails to goto spam? (not using email relay)

Can using the mass email feature (limited to 250 emails per send) cause emails to goto spam? In our org we generally use email both internally as well as to communicate with our active consumer ...
2
votes
1answer
91 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 ...
1
vote
1answer
2k views

Mass email message apex [closed]

I need to send mass email message through apex. I cannot able to set the body, orgwideaddressId.. How can we convert a single message to mass message?
0
votes
1answer
507 views

Change font in singleemail messaging

I have below emailing code where I need to send mail in Callibri font. Can someone let me know a wayout here? Code: Messaging.SingleEmailMessage mail = new Messaging.SingleEmailMessage(); Messaging....
0
votes
1answer
68 views

Mass Emailing using custom email template

I want to allow user to manually enter the subject and body of an email and then send that email using mass email functionality of salesforce. But via mass email i can send email template and can't ...
2
votes
1answer
420 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 '...
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 ...
0
votes
2answers
60 views

Using email templates

I want a email template which will have text like this Dear {contact.Name} Thanks for approaching us for product {SR.product.Name}. we have reviewed your request and would like to correspond with ...
0
votes
1answer
26 views

Searching by zip code and Email Blast error

I have couple of question for which i need help. 1.How should I add zip code Filter in GLOBAL UI SEARCH. so that I can search for named Accounts by zip code. For example I want to do a search of ...
0
votes
1answer
29 views

Opting person out of mass mailings

How do i make sure that a person is not included in further mass mailings?. I see an email optout button inside a contact, but when i run a list to send a mass email to, i cant track if they have ...
-4
votes
1answer
1k views

Method does not exist or incorrect signature: [Messaging.SingleEmailMessage].setBCCaddress(List<String>)

getting the error Method does not exist or incorrect signature: [Messaging.SingleEmailMessage].setBCCaddress(List) from the code public PageReference show() { messaging....
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 ...
0
votes
2answers
3k views

How can I verify my Org Wide email address?

I have created an email service and apex class that converts incoming email into tasks and associates them with the matching record. the idea is to simulate email to case functionality. it works as ...
2
votes
1answer
98 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
1
vote
0answers
82 views

Updating Salesforce from ExactTarget mass email

I'm using ExactTarget to send mass emails. I want to update the status of the lead records in Salesforce CRM, for every email that was sent. How can that be done?
1
vote
0answers
65 views

Add lead to Campaign through the use of a unique code entered on Website

I am using Salesforce /Pardot for Marketing purposes. I have a requirement where I would like to send mass letters to Leads, inviting them to an Event. On this letter I have a unique random number ...
2
votes
2answers
793 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. ...