Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [email]

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

0
votes
1answer
12 views

Calling Email template in Visual Force page using Iframe

I'm new to this sales force platform.I'm facing the problem to call the email template in visual force page using iframe. my code look like this. <apex:iframe id="previewFrame" title="HTML ...
2
votes
1answer
32 views

Using GTL to Display Data from Nested JSON Arrays

I am building an email using data passed through JSON. Here is an example of the JSON file: { "order": { "items": [ { *Other Data*, "tracking": [ { **"...
0
votes
1answer
23 views

Calling SendGrid API from Salesforce Trigger [on hold]

How can I send out bulk emails to our clients from a Salesforce trigger using SendGrid? I have tried sendgrid-apex from https://github.com/sendgrid/sendgrid-apex/issues/12 but that does not seem to ...
0
votes
1answer
23 views

“Reply All” , “Reply” and “Forward” buttons not visible in the Send Email Activity on an Apex generated email

I have an Email Service with an Apex class that creates a new EmailMessage object associating the sender with a Contact in the system and the recipient as a User. The email shows up correctly with all ...
0
votes
1answer
25 views

Query Activity for suscribers that opened campaigns

We want to get a Data Extension with only de emails of subscribers that opened certain JobIDs. I ran this SQL Activity but the targeted Data Extension shows 0 records after it finished running. What ...
1
vote
0answers
11 views

Detail Link in Email Template

Maybe I missed it somewhere but I haven't been able to find it anywhere. So here is the question: I am using Detail Link in email template and the email is send via Workflow to notify Record Creator....
2
votes
3answers
46 views

Send mail when contract is less than X days from expiry

EDIT: I should have mentioned that the main problem is not to make a time dependent workflow rule, the problem is that I want this to work for all existing contracts that most likely will never be ...
1
vote
1answer
44 views

Email Tracking Converstion in Salesforce Markting Cloud Analtyics builder

I am not able to track conversion in Analytics Builder. I have associated a campaign to an email and also I have used an URL which redirects to the website in the email. example : <a href="https:/...
0
votes
0answers
19 views

Email Signature in Salesforce as image

I have a requirements that I want to add Email Signature as image in mail. I have added my signature in 'My Email settings'. While sending email from opportunity I can see my image as signature but ...
0
votes
1answer
16 views

Journey Builder “Send Email” activity not triggering from Salesforce Campaign entry source

I have a journey set up where the entry source is a Salesforce Campaign. The very first item on the journey is an email send, as seen below: However, when I go to activate the journey, it doesn't ...
0
votes
3answers
40 views

AMPscript error in email - Unrecognized expression appears in a script block

I'm trying to create a personalized mailer where recommended products will be pitched to each customer. I'm getting error - An unrecognized expression appears in a script block. Script Expression: ...
0
votes
0answers
13 views

Prevent user from receiving workflow email updates

I have a workflow rule that sends immediately sends an email update when a record is updated and anytime it's subsequently edited. This rule is to update users that they have been assigned a new ...
0
votes
1answer
17 views

Should emails sent to a PERSONAL email address field display in account's activity feed?

With the standard einstein activity capture, emails sent to contacts automatically get logged on the applicable account. I'm wondering if emails should be logged that were sent to the personal email ...
1
vote
1answer
18 views

Definition of Event date in _bounce data view in salesforce marketing cloud?

This is with reference to standard system data extension in marketing cloud named _bounce. As per standard documentation definition of EventDate is "The date the bounce took place." Let's say, email ...
0
votes
1answer
23 views

How to preview a mailer targeted on synchronised data extension ?

We've created a mailer (In SFMC) which includes AMP script and is a trigger based mailer. Whenever a new lead is created a mailer should be triggered with recommended items. There is a separate data ...
0
votes
0answers
11 views

Embed vfp page with “wave:dashboard tag” as email template

Is it possible to send visual force email template via email with embedded wave:dashboard tag? Right now when I send the email template to my email it only show the ff. test start test end But ...
0
votes
1answer
49 views

How to write a simple SQL query to identify records who have been sent an email

I'm a Marketing Cloud SQL beginner and I've been struggling to find a simple reference to a SQL query that shows how to identify records who were Sent a particular email. I landed on the following ...
3
votes
0answers
41 views

From Address for outbound email message in communities

We have a requirement to set the from address to the outbound emails sending from communities like welcome, forgot password and reset password. Currently it's taking the email address which we ...
0
votes
2answers
48 views

Email Marketing: sending ID in email

This is a 'best practice' question: Should we be sending a Salesforce GUID in an email? We have a button in an email to ask them for consent (to a thing). That button links to a VF Page or a ...
2
votes
2answers
43 views

Not receiving flow Exception emails

I'm having an issue in my org where I can't make anyone receive the unhandled exception apex emails, so i'm having a test failing on a Process Builder, and I can't fix the issue since I can't receive ...
1
vote
0answers
30 views

Messaging.renderemailtemplate() fails with error: System.EmailTemplateRenderException: UNKNOWN_EXCEPTION: java.lang.NullPointerException

I am trying to render an email using the method: Messaging.renderemailtemplate(), by passing three parameters: templateId,whoId ( user ) ,whatId ( Custom Object ) from a Trigger. The insertion of ...
1
vote
2answers
36 views

HTML Email Template : Looks Okay In The Editor, But Loses All Styling When Sent

I'm trying to create an email template in HTML. I originally did all the styling as an internal style - But later found out that styling must be done as inline css. My creation looks fine in the ...
0
votes
1answer
17 views

How to display Date time field without showing the 00:00:00 Time when we reference it in the Apex code?

We have a S-control button which sys SendAttendancelist. The S-control calls the apex class Classobj in that we have a email that is sent out from apex while executing it sends out email with few ...
0
votes
1answer
35 views

Custom Lightning Component for Gmail or Outlook Capability

I have the following business requirements for sending email from Salesforce and I'm wondering if I can accomplish this by building custom components for the email application pane in Lightning: ...
0
votes
1answer
32 views

Lightning email can't enter message

when I click on email tab I only see related and no way to enter message. Also the icons for templates are missing, See the following:
0
votes
1answer
35 views

Outbound email message with attachments limit

I am using Apex to send emails with attachments to users (with SingleEmailMessage to be more precisely). From some MB (I Don't sure exactly the size - because it changed from time to time when I try ...
0
votes
1answer
22 views

Auto log activities to CLOSED opportunities?

Our current way of doing things in SFDC, has customer success working off of the opportunity as opposed to the account object. The opp has information they need, along with the fact its related to ...
0
votes
0answers
33 views

Can i send automatic email when new content is available on website?

Can i send automatic email when new content is available on website? Question 1) if i have a blog, instead of manually adding content to email then sending email, how can i send email automatically ...
0
votes
1answer
12 views

Intelligent email campaigns with SalesForce

I'm wondering if I can get some help in the email campaigns & newsletter topic: We want to implement some automations regarding newsletter subscriber TO hot-lead conversions, and I'm curious if ...
0
votes
1answer
62 views

Ampscript works in preview and test but not in live send

I have a content block that sets an attribute from a data extension in a variable and then has several lookups based on that. When I preview and test send it works but in live sends I'm getting a ...
-1
votes
0answers
38 views

Apex email template based on condition

I'm new to apex, I'm in a position to implement a scenario where i need to send emails, when a lookup record on account is added/modified/removed. for this i have written for loops for every action ...
0
votes
2answers
34 views

Email Delivery 404 [duplicate]

my team had follow the document (https://developer.salesforce.com/docs/atlas.en-us.mc-apis.meta/mc-apis/messageDefinitionSends.htm) and (https://developer.salesforce.com/docs/atlas.en-us.mc-apis.meta/...
0
votes
1answer
27 views

How to test email notification to the Administrator?

I can't insert right profile to test user like an administrator and don't know how to test it right. Help me please. public void notifyAdministrator(String errorException){ User user = [SELECT ...
0
votes
1answer
33 views

Adding Data Extension Data into Ampscript HTTPGet

I'm trying to use an API call to return specific information that is returned when we place a global supporter ID into a link. Then using a HTTPGet and substring combination to get the proper ...
0
votes
1answer
25 views

Collect data from form and url and insert into data extension

I need to collect data from a url and form entry and insert information into a data extension. My cloud page url is https://pub.info.example.com/unsub when my button is clicked with the following ...
2
votes
0answers
29 views

Register symbol and parenthesis causing error in outlook

when using a sender profile with "xyz® (abc) communications" for the from name, the part in parenthesis is being kicked out when sent to outlook so i just have "xyz® communications" I have tried ...
0
votes
1answer
48 views

Compare two columns from different data extensions

I'll get right into it. - I am trying to do the following: I have two DEs one is my send DE, the other is a lookup table. Let's say both data extensions have a column called [STATE]. The send DE ...
1
vote
1answer
52 views

Unsubscribe process on external page with update to _Unsubscribe dataview

What I would like to achieve is an email unsubscribe process that is secure, performant and on an external page with the ability to update the internal system table (dataview) _Unsubscribe. How I ...
5
votes
1answer
220 views

Is it possible to access the email of a Lead's owner directly?

For instance, I am writing some code to send an email using a after insert trigger. I am wanting to get the email address of the lead owner I am currently iterating over, but am running into an error. ...
1
vote
3answers
27 views

Change Sandbox Email

In a sandbox, how do I change the email back to the sandbox example email? Current: Jsmith@gmail.com I want to change it back to: Jsmith=gmail.com@example.com How do I do this without the ability ...
1
vote
0answers
18 views

'Add Image' Dialogue Custom 'Block' in Marketing Cloud Content builder

I am working on Custom Blocks for Content Builder E-Mails and I wonder if it is possible to choose Image Assets from the Salesforce System like in the 'Image Block'. Sadly I didn't find anything ...
1
vote
2answers
88 views

Building a Salesforce Form using Sites that is Time-bombed

Project Build a form off salesforce that can be sent to clients to collect information. Sent by email through salesforce as a button available to sales users off the account record Requirements ...
0
votes
0answers
23 views

Need help getting records from a custom object [duplicate]

looking for some help with this. I have a custom object named Annual_Sales_Targets__c with a master detail relationship to Contracts. When a contract is activated, a workflow will kick off and send ...
0
votes
0answers
21 views

Is it possible to link to the current record in an email quick action?

I am attempting to create an object specific Send Email quick action on a custom object which includes a link to the current record in the HTML Body field via formula. I can easily add explicit ...
0
votes
2answers
33 views

AmpScript file attachment to email

Trying to switch out the static attachment in an email to dynamic based on a Data Extension(DE). The Static: %%[ %%=AttachFile("FTP","AIDI.pdf")=%% ]%% And what I'm tried to replace it with: %%[ ...
2
votes
1answer
31 views

Webpage mail different from received mail in mailbox with %%view_email_url%%

I've built some AMPscript code that selects two different contentblocks to be displayed next to each other in the same block. The code retrieves all the blocks that have the content_type "themablok". ...
0
votes
1answer
30 views

Newsletter open and click tracking use http. Can i configure it that it uses https with our certificate? Can this cause block bounces?

We recently saw that a particular domain (lets say it is recipient.com operated by recipient ltd) of newsletter recipients block our newsletter quite often. Therefore we asked the operating company of ...
1
vote
0answers
63 views

Any possible way to set LINK ALIAS for regular Link Tracking (i.e., not Web Analytics Connector)

I've done my digging here, but can't get a solution. I'd like to set a LINK ALIAS via AMPscript, but I always see my AMPscript in Link Tracking (image attached). I tried CONCAT with no luck. I tried ...
1
vote
2answers
50 views

Journey builder, best practices in marketing cloud post journey completion

What are the best practices for a journey, post completion in marketing cloud. In marketing cloud, once a journey is complete i.e. all communications have been delivered, tracking is available and ...
0
votes
2answers
23 views

RelatedTo field of Email message

RelatedTo field has multiple lookups to various object for my instance its heavily populated as follows: Lookup(Contract,Campaign,Organization,Donation,Product,Asset,Case,Solution,Asset ...