function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Tom in NYTom in NY 

Automate Campaign

I am using .Net to upload an Excel file we generate in-house every day to salesforce, I need to attach this file to an email in a campaign and have the campaign send the email with the attached file. I am able to upload the file and associate it with the campaign it is the automating the attaching the file to the email and sending it I need some guidance with. We are using MassMailer from Mansa Systems for mass mailing.
Sonam_SFDCSonam_SFDC
Hi Tom,

If I understand the requirement correctly - I would suggest you to create a button to send email from a campaign and let the button trigger a class which can send the email :

Please check the following link to see how we can send an email with attachment through code: 
http://sfdc.arrowpointe.com/2009/01/08/invoke-apex-from-a-custom-button-using-a-visualforce-page/
http://salesforce.stackexchange.com/questions/25115/send-email-with-attachment-dynamically