You need to sign in to do that
Don't have an account?

Mass Email Attachment
Message Edited by SFDC Admin on 11-14-2007 07:44 AM
Here is my java code....hope that helps
MassEmailMessage[] messages = new MassEmailMessage[1];
messages[0] = new MassEmailMessage();
messages[0].setBccSender(bccSender);
messages[0].setEmailPriority(EmailPriority.Normal);
messages[0].setReplyTo(replyTo);
messages[0].setSaveAsActivity(saveAsActivity);
messages[0].setSubject(emailSubject);
messages[0].setUseSignature(useSignature);
messages[0].setTemplateId(new ID(templateId));
ID[] contactIds = new ID[1];
contactIds[0] = new ID(contactId);
//verify contact id is not null prior to attempting email
if(contactIds[0]!=null) {
messages[0].setTargetObjectIds(contactIds);
try {
SendEmailResult[] result = sfdc.sendEmail(messages);
}
Message Edited by SFDC Admin on 11-14-2007 08:00 AM
Hi,
How to send an acknowledge mail using java script, if error.csv file size is more than 1kb.
cheers,
sri
MassMailer Attachments Send Large Files and Control How Long They’re Available.
Have you ever wanted to send out a whitepaper, pricing sheet, product PDF, or other unique or large file, but you weren’t sure how? MassMailer Attachments is the answer you’re looking for. Share files with your contacts without any fuss and without having to use multiple services.
For this, you can visit and play with this app free trail for 15 days -
https://appexchange.salesforce.com/listingDetail?listingId=a0N30000005uxj5EAA
Do you want to know more details click here https://goo.gl/e0RtSm
Regards
Venu E