Salesforce provides multiple forms of email, including email templates, mass email, email services, email alerts, and email sent via Apex.

learn more… | top users | synonyms

0
votes
0answers
5 views

AMPScript IndexOf Question

​I'm stumped. I’ve thought long and hard as to how to get “marketable” data from “technical” data and this is what I’ve come up with: %%[VAR @prod1 IF IndexOf("%%=ContentAreaByName('My ...
0
votes
2answers
8 views

Conditional Apex in HTML emails

What's wrong with this Apex/Visualforce code that it returns nothing in my HTML email template? I've tried everything. Controller: public class EmailController { public Id leadId { get; set; } ...
2
votes
1answer
12 views

Conditional Formula formatting in visualforce email template

I am wondering if there is a way to set conditional formulas in Visualforce templates where fields that have a NULL value do not appear as empty spaces in the template. For instance I have a field ...
0
votes
1answer
14 views

CC Email Address on Email (ExactTarget)

How can we specify the CC email address in the Triggered send definition? I know this is possible if we create the email definition using code. But is it possible mention that on the UI?
0
votes
0answers
21 views

Org-wide email address not shown correctly in email received by customer

We have an org-wide email address set up that's being used in outgoing email communication on cases in Service Cloud. For some reason, one of our customers is seeing a salesforce email address instead ...
0
votes
2answers
31 views

Accessing list inside visual force template

I have a class(batch apex) wherein i am querying(and filtering) and getting a list of records. I need to access these records inside a visual force email template by using <apex:repeat>. However ...
0
votes
0answers
17 views

Retrieve email header value then assign that value to a custom field [on hold]

Is there a way to retrieve a value from email headers and then assign it to a custom field?
1
vote
0answers
7 views

Emails sent by internal user to internal user via Templates being blocked 550 Administrative Lockout

Has anyone seen this issue before? If an internal user with email personA@mycompany.com sends an email via Salesforce to another @mycompany.com email address in the 'other To' section of an email, ...
0
votes
0answers
9 views

External keys for links embedded in an email send through Journey Builder

Similar to External Keys generated for every email send in an Journey Builder interaction (refer the screen shot attached), are their any keys generated by JB for the links embedded in the email. The ...
3
votes
1answer
13 views

Journey Builder engagement split treats click on Email update profile link as success

If a subscriber clicks on Update Profile link in an email,the journey builder counts/treats it as a click in an engagement split.Any suggestion/way to make JB, treat clicks made on Update Profile ...
0
votes
1answer
17 views

Logging emails sent through Outlook to Salesforce

I am trying to find a way log the email that was sent through outlook to a task in salesforce where the address from the To field from the email is matched against an existing contact email from ...
0
votes
1answer
24 views

Increment AmpScript for loop by more than 1

Is there a way to increment an AmpScript for loop by more than 1, for example by 2? (Please excuse the logic within the for loop - it is just a quick example). SET @RowCount = 21 IF @RowCount > ...
0
votes
1answer
15 views

How can I append query string params to the view_email_url?

I have a share link in email which works fine: <a href="mailto:?subject=my subject&amp;body=view my link: %%=URLEncode(view_email_url,1)=%%" title="Share" target="_blank">Share</a> ...
0
votes
1answer
14 views

Using AMPScript to change the first character in a paragraph variable to lowercase

%%[ IF Not Empty(@FirstName) and Not Empty(@BodyHeading) THEN SET @BodyHeading = Concat(@FirstName," ," ," ", Lowercase(@BodyHeading)) ]%% Outputs this: Firstname, getting started on the road ...
0
votes
1answer
22 views

Send Preview not working in HTML [closed]

I have created an HTML email but when I try to see the Send Preview, I don't see anything in HTML mode. It shows up correctly in text mode but not in HTML. What I could be missing?
1
vote
2answers
37 views

How can make a list duplicate records in list of records and How to send emails to that list at a time

I have a list of users. Users are nothing but contacts. If the user is not login for last 150 days, I need to send an email to users(contacts) of Accounts. In account one email field called ...
0
votes
1answer
16 views

Test class for batch apex that sends out email

Below is the snippet of the batch class that sends out email. global Database.QueryLocator start(Database.BatchableContext BC) { query = 'Select id , user__c from object1'; ...
0
votes
0answers
10 views

How to block email domain @xyn.in under list view in lead object [closed]

I have made a list view under lead object in I want to block the email domain @xyz.in so that I donot receive emails under under view. I have applied the filter email does not contain @xyz.in . Is ...
0
votes
2answers
24 views

Adding logo in visual force email template

I am using a vf email template. I understand to use logo in a vf template i cannot leverage static resources, rather have to keep the logo in documents folder. But how can i dynamically access the url ...
1
vote
0answers
18 views

Using email templates where targetobjectid is user

Objects: Obj1 and Obj2. Obj2 is child of Obj1. Obj1 has a lookup to user object(User__c). I have a batch class wherein i am trying to schedule emails. I want to use an HTML email template. The ...
1
vote
1answer
26 views

How to extend salesforce 'send quote by email' page

Salesforce provide simple way to send quote by email (opportunity->quote->send email), but I need to implement another logic of sending emails: I need to send emails using API of third-party service. ...
1
vote
2answers
31 views

SendEmail failed. REQUIRED_FIELD_MISSING, Missing targetObjectId with template:

Can any one help me out with this error . 1)When im using mail.setTargetObjectId(c.CustomerSignedId); the system start throwing a error . SendEmail failed. First exception on row 0; first error: ...
0
votes
1answer
14 views

Unable to pop values from a standard object onto a custom object

I am trying to pop up values from a Lead lookup field on a custom object in email template. I am using the detail link {!Lead.Link} in an email template. Please let me know how to populate values.
4
votes
1answer
37 views

Can't save pasted email code

I've been trying to paste some email code into the edit section, and I cannot save. I am not getting any error code really, just a message that says "An unexpected error has occurred". I called sales ...
0
votes
0answers
16 views

Issue with email delivery from salesforce

I have been facing issue in delivery of emails from Salesforce as there is a delay in receiving of emails till 5-6 hours. Also I have noticed that email logs tell me the error is "451 4.7.550 Access ...
0
votes
1answer
23 views

Can I send daily Reminder Emails with a List of Open Cases?

Is it possible to send out daily reminders to users/contacts a list of open cases? I've looked into some workflows, but they would end up sending multiple emails. I'm looking for a succinct way to ...
0
votes
0answers
22 views

HTML Email template Merge fields are not working in Batch class

Based on the requirement i have created few html email templates with the merge fields .When i use the templateid in the batch class and execute the batch class,the email which i get doesnot display ...
1
vote
2answers
40 views

Send email using apex with merge fields from a custom object in the email template

This appears to be a simple use case that I can't figure out. I want to send email to a list of UserIDs based on an HTML or VisualForce email template. The email template could look something like ...
0
votes
1answer
38 views

How to add the view_email_url url to my website as a link

I have a requirement to add a link to my website that will link to my exact target email (View as Webpage Link). It looks like exact target generates a new view_email_url every time. Can I just copy ...
1
vote
2answers
26 views

Scoring email engagement across a series of email campaigns

We are looking to launch a "Welcome Series" which will be made up of a sequence of independent email campaigns across a 24 month period. If a recipient opens one of these emails I would like to ...
0
votes
0answers
13 views

Relating Activity (Email) to Campaign Member / Previous Activity (Email) so we know it is a reply

We send out automated email using Marketo and create a completed task in SFDC to show that email was sent. When they reply back to those email, I would like to relate this new task (the inbound ...
-1
votes
1answer
24 views

Batch apex email query

Leads that are older than 1 month with Approval Status ‘Rejected’ should be emailed in the form of an ‘excel file’ to the System Administrator predefined in custom setting and should then be deleted ...
0
votes
0answers
20 views

Recording Reasons for Unsubscribe in Marketing Cloud

Our marketing team wants to send a re-engagement email to a list with custom choices like these It is my understanding that we could use %%unsub_center_url%% in the email to simply allow an opt-out ...
1
vote
1answer
44 views

How can I keep missing XML elements from breaking my RSS-driven newsletter?

I'm trying build an newsletter that populates the five most recent stories from our website. I'm using this AMPscript to parse the XML: %%[Var @xml, @xml1, @titles, @authors, @author, @descs, ...
3
votes
1answer
27 views

Subject line Chinese Character issue in Salesforce

Thanks in advance, I am sending an email from IBM Notes to Salesforce queue(Ex:test@test.com) with Subject line Chinese Character and the body content also Chinese character only. But after creating ...
2
votes
0answers
28 views

URL Whitelisting in Salesforce Console

In the Salesforce console, we have an user action that will open the Email tab using the Email Url. For example: ...
1
vote
1answer
19 views

Blocking email sending for some users

I want to disable the ability of sending emails for some set of users. can you please let me out? Thanks in advance
0
votes
1answer
26 views

Lead Count for every 10mins [closed]

I have a requirement . I want to know the number of leads created for every 10 mins and if the leads are not created in last 10mins I want to get an email saying No leads are created in last 10 mins ...
0
votes
1answer
26 views

Automatically pull email addresses from landing page sign-up form

I'm new to Salesforce Marketing Cloud. I am going to be creating a landing page (outside of marketing cloud) that will have a sign-up form for our e-newsletter. How can I automatically importing email ...
0
votes
1answer
43 views

Json parse in emails with ampscript

Im trying to parse some weather json data in my email. But I cant quite fiqure out the syntax. With this code I'm trying to get the main.temp value printed. Below is my code so far, but it dosnt work ...
0
votes
1answer
30 views

Email received from Salesforce has weird 'Via' string

When I send an Email from SF to someone as myself(John Doe(john@johndoe.com), user receiving the email has some weird 'Via' string displayed along with my name when viewd in Gmail. Eg. John Doe via ...
1
vote
0answers
36 views

Feature works in sandbox but not in production

I've developed a button to send a custom email with a template in an Opportunity for a client. All went well in his sandbox environment, but when the feature hit production, Salesforce won't stop ...
3
votes
1answer
43 views

Add an email message function to the apex class

Hello i im new to this site and to salesforce i would like to add function in my apex class so that when it executes it will send and email with a message body based on a message defined in an apex ...
-1
votes
1answer
17 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
0answers
21 views

Email bounce management in apex?

I have bounce management turned on in my org, and email bounces are detected when messages are sent using the Mass Email wizard, but they aren't detected when messages are sent through apex. Is there ...
0
votes
1answer
19 views

issue adding csv file attachment to email in Batch job

In a batch file we are updating records, and for each one we are creating a record which is sent in an email when the batch completes. It all works swimmingly except that the csv file is sent as an ...
1
vote
1answer
31 views

How to send one email with multiple records in it

I wrote the schedule class for sending an email with lead records(It's going mail with each record) but we need to send one email(based on state) with multiple records created in lead(based on state). ...
1
vote
0answers
12 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
2answers
73 views

Process builder sending multiple mails on production

I have this process, built with process builder, that triggers an Apex class to send a single email, under a condition: that a Case has a specific Status. In the sandbox, this works perfectly. On ...
1
vote
1answer
39 views

Is there a way to determine if EmailMessage has reply

I'm after finding a way to know if a EmailMessage object has a reply? I have tried to use Trigger after insert but I do not see its picking. Any other better way? when the user response to ...