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

5
votes
0answers
32 views

Sending an email from a trigger with an addError

We have the requirement that if a Case is created via email2case and the Account has a flag (SecureSupport__c) checked then we should block the case creation and send a notification to the contact ...
0
votes
0answers
27 views

Custom Button to send email with attachments [on hold]

I have a custom button to send email with visualforce email template. I need the attachments in the record to send in that email. I found new_template=1, that could be used in button, by don't work. ...
1
vote
1answer
15 views

How do I parse a variable from my VF Page URL to my VF email template?

I need to get a string into my Visualforce email template. I have attempted to parse it over the URL as I thought it would be the easiest way but I'm not sure. I am using sendMail and sending the ...
1
vote
1answer
81 views

Inbound email missing attachment?

I have a requirement to save attachment received from email in Salesforce object using Email To Salesforce. I tried using the below code but attachment are not getting saved, when I checked using the ...
2
votes
1answer
32 views

Add Attachment from Notes and Attachment related list in a VF Email template

I have a requirement and I appreciate your help on this. We have a custom object, where users create records and upload spreadsheets in "Notes & Attachment" related list. Our requirement is, we ...
2
votes
2answers
22 views

ExactTarget - how to Export, Archive, save mails for end-customer use

To preface this I'm not an ExactTarget expert.... We use ExactTarget and are interested in more archiving our email newsletters so that our subscribers can later use our articles as a reference. We ...
0
votes
1answer
12 views

Flow to Email Author

I would like to plan a button in my Opportunites page which leads to a flow, the flow will give the user three radio boxes, depending on the option selected this should lead to a Email Author page ...
2
votes
1answer
26 views

Custom button URL hack - how to send to specific email address

I tried to send a email from a custom button in opportunity, but I can't send to a specific email, I want send automaticaly when I click in the button. I try this but don't work. I can't send to a ...
1
vote
0answers
13 views

Exact Target - Individual Email Result object - linking Lookup field to IER records in Salesforce

Apparently Exact Target "uses" Stack Exchange for support issues. More specifically, they have no developer support, and their API is "as-is", and either way I believe I have this isolated to a ...
0
votes
1answer
32 views

Email File Attachment type

I am trying to send an attachemnet in an email. I am able to do so the problem that i am having is that I am not able to get the original name and content type of the attachment. Is there any way of ...
0
votes
2answers
34 views

Send emails from Email Service address?

I have an email service which parses responses if my customers send emails to the Salesforce generated email. I want to know whether it is possible to send out emails from the Salesforce generated ...
0
votes
1answer
43 views

How to override the FROM Email in Messaging.SingleEmailMessage

How to override the from email address in the email.But in my code throw an exception.How to set the Organization-Wide email addresses.When I comment the code "setOrgWideEmailAddressId(owe.Id);"it ...
0
votes
2answers
24 views

SetTargetObjectID dynamically

I have written a class that sends an email and I have referenced the object id (opportunity) in the URI for the VP page. So how can I make a variable that grabs that id so I can use it in my sendMail ...
3
votes
1answer
30 views

Parsing “RE” and “FWD” in email subject lines

I'd like a sanity check on a regex modification I made. The below code parses out leading "Re:" and "Fwd": in an email subject line and captures the remainder of the subject line. It works, but ...
1
vote
0answers
15 views

Is it possible to have email sent with automatically user id inserted different that recipient user?

Is it possible to have email sent with automatically user id inserted different that recipient user? Firstly I have tried the following code Messaging.SingleEmailMessage mail = new ...
3
votes
1answer
20 views

How to render a VisualForce email template to string

Is there a way, using Apex, to trigger the rendering of a VisualForce email template and capture the result as a string? This would be used to set the HTML Body of an email to be sent using an ...
2
votes
1answer
26 views

Apex email extension points - How to replace Messaging.sendEmail or change it's behaviour

I'm looking to alter the mechanism that SalesForce uses to send email. Ideally I would like to make this change in a single location. I could make a new class called CustomMailer that has the same ...
0
votes
1answer
23 views

Can Conga Courier send reports generated by Conga QuickMerge?

I am working with reports generated by Conga QuickMerge. I need to send these reports using Conga Courier. Is this possible? if so, how?
1
vote
0answers
13 views

Change Email Language, Not Based On Running User's Language

I created a scheduled job which sends an email to System Administrator everyday. The scheduled job works in English and Japanese. I created a custom label and used translation workbench to translate ...
0
votes
1answer
33 views

Email Template ChatterPhoto image not shown in gmail

I have an email template defined in salesforce which uses custom components. Eveything works fine. But i am also showing chatter image of the lead owner i.e user. <img ...
1
vote
1answer
31 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 ...
2
votes
1answer
23 views

Passing a Name to customize html field on ExactTarget triggered email from Salesforce

I am sending an exact target triggered email using the salesforce Apex developer. However when a member's name does not already exist on the ET side I do not know how to pass that information to ET. ...
1
vote
0answers
33 views

Dynamic Email Template Body

I have a requirement where I need to send the email template and also allow the use to change it and then send the content. I am able to send email and attach a VF template dynamically. But I am not ...
5
votes
1answer
31 views

Verification code through SMS not recived

Many of my users are facing the the verification issues. They only receive a message without any code. As shown below. ![enter image description here][1] [1]: http://i.stack.imgur.com/iNkgN.png Can ...
3
votes
3answers
59 views

PlainText email doesn't line break as expected

I am having this code: plainTextBody += 'Confirmed Late Delivery is changed to unticked \n'; plainTextBody += 'Delivered Status is changed to a value that is not Delivered Late \n'; ...
4
votes
1answer
31 views

Issue sending triggered email in exactarget using Apex developer

I am trying to fire an ExactTarget triggered email using the Salesforce developer console. I am now getting the error "Problem initating message send during deserialization of JSON payload" Http ...
3
votes
1answer
16 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?
1
vote
2answers
26 views

How to create IF Statements in Visualforce email template?

Hi I have create the Visualforce email template and i have attach the pdf file,in that pdf file name has been Certificate .pdf, but the file name a particular parent name Eg: Mecca Bingo it will show ...
0
votes
0answers
22 views

Send email with user credentials for new Customer Portal user

I would like to send emails to users informing them they have been signed up to my portal. When editing the email template for new users, how can I include their username and password? Is there any ...
3
votes
2answers
45 views

How do you use Batch for send more than 10 emails?

I have been watching how to implement the batch for sending more than 10 email but I get errors. When I send emails I have a limit 5 and also are sent several times to the same user email global ...
1
vote
1answer
28 views

How to Use Custom Subscriber Attributes in a Triggered Email

I am using a Microsite to hold a page which allows users to generate a PDF, and then either download it, view it, or email it to someone else. I have generated the PDF successfully, but I'm having ...
1
vote
1answer
30 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" ...
0
votes
0answers
12 views

Missing the “Delivery Status Notification” Column in Email Log

From the Salesforce documentation here... https://help.salesforce.com/HTViewHelpDoc?id=email_logs_format.htm&language=en_US It shows a column "O" that should show Delivery Status Notification. ...
0
votes
0answers
33 views

To send Email on Button Cick

I am not able to send email using the following code. Can someone suggest where am i going wrong? <apex:page StandardController="Order__c" extensions="SendEmail"> <apex:pageblock ...
2
votes
1answer
42 views

How to use Pattern matching in test class for email field?

I am using pattern matchers for the email filed in contact in my development. When writting the test i am getting error in that patter matches.Here i have method the error line.Kindly help me to ...
1
vote
2answers
26 views

How do I convert a list of emails into a list of ContactIDs?

I have a CSV file that contains First, Last, and Email. I want to add these emails to a campaign, but not as leads, as it would create a large number of duplication. I know how to add contacts to a ...
1
vote
0answers
24 views

Display currency field on vf email template as it appears on standard page

I am creating a visualforce email template where i want to display the currency field as shown above. Is it possible?
2
votes
1answer
23 views

How can you display an email image for mobile devices only?

We are trying to display an image only if the user is on a mobile device. Here's what we have so far: div style="display: none; max-height: 0px; overflow: hidden; line-height: 0px;" ...
1
vote
0answers
24 views

When we create Email To Case .. Can we fire Trigger on Email Message Object?

trigger MiC_Trg_DetectLanguage on EmailMessage (after insert) { For( EmailMessage message : Trigger.new) { String caseId = message.ParentId; MethodClass_Future.getLanguage( ...
2
votes
1answer
32 views

How can I use AMPscript to show HTML button based on an ID being passed?

Here is what I have so far: %%[ IF @ClinicID == 33 THEN Show HTML button ELSE Show Nothing ENDIF ]%%
1
vote
1answer
27 views

Have Superscript or a complex html tag inside AMPScript

How can I use some complex html tag inside the ampscript and then pass it to email body? For example, I need below tag inside AMPScript on preheader. <sup style="font-size: 10px; line-height: 0; ...
2
votes
0answers
24 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 ...
1
vote
1answer
16 views

Current email invocations count by org

I have developed a pretty cool, reusable piece of apex code that allows a user to define which fields on a given object that are of interest when field values change. When a field changes on an ...
0
votes
1answer
49 views

Converting from string to blob and sending email along with attachment

I have this method public void sendEmailWithAttachment(){ Blob b; String b64; String strUrlUTF8; String sampleString=generateReport(); //call generateReport method ...
0
votes
1answer
17 views

Email Alert when a record's status not changed

Is it possible to build a solution that will send out an email when the status of a Case Record has not been changed for a certain amount of time ?..let us say 24 hours.
2
votes
1answer
30 views

Can I merge an email template in Apex, and also inspect it from code

Can I get the merged email template in Apex without sending it? I'd like to inspect the generated email first. I think I found the answer on http://salesforce.stackexchange.com/a/8745/2330
1
vote
0answers
23 views

Making apex callout after sendEmail() in Batch apex

This is related to question, Processing callouts from Batch, but is specific to Emails operations. We are sending contents of email in apex callouts. The content contain merge fields, which is not ...
1
vote
1answer
44 views

Lookup default value - AMPscript

This is going to be a fairly easy question for you I think. I have a lookup aimed at a Data Extension, but I want to set a default value for all lookups that does not find a value in the DE. Here is ...
0
votes
1answer
28 views

How to change the From address when a case is created

When a SF user creates a case for a particular contact, and check notify check box to the contact person. It will send the mail from the current logged in user's mail address. But i want to send ...
1
vote
1answer
24 views

How Email Agent Works?

We have a scenario where we would like to know that how the Salesforce works, if we are installing an Email Agent behind the firewall at our client site to create an Email To Case for us. Does that ...