You need to sign in to do that
Don't have an account?
afindie
Email with Attachments
<script src="/soap/ajax/12.0/connection.js"></script>
some other code.
var attachments = new Array("000000000000000"); //replaced 000000000000000 with the document id in SF.
singleRequest.documentAttachments = attachments;
var sendMailRes = sforce.connection.sendEmail([singleRequest]);
I am not able to get this to work at all....
Example was shown with a 9.0 connection...I tried with that as well, but the email didn't go out.
thx in advance.
some other code.
var attachments = new Array("000000000000000"); //replaced 000000000000000 with the document id in SF.
singleRequest.documentAttachments = attachments;
var sendMailRes = sforce.connection.sendEmail([singleRequest]);
I am not able to get this to work at all....
Example was shown with a 9.0 connection...I tried with that as well, but the email didn't go out.
thx in advance.
once I add in the attachment code. the email won't sent.
I even tried to alert the doc after. but nothing show up.
Can you please check this application for Email Attachment,
MassMailer DOCS let’s you easily mass email email attachments to your leads or contacts while securely storing your files with Rackspace Cloud Files.with MassMailer Docs you can store any size file - 100GB, 200GB, or more?
You can try this app by installing from appexchange -Massmailer Docs
You can learn more details about the product on this website - Link