4

I would like to access the outbound emails sent from salesforce to the users(for eg. notification mail, scheduled reports mails etc). Could anyone tell me where those mails will be stored in the salesforce and how to access those mails using apex?

Thanks Raghu

2 Answers 2

2

You can access details about email logs from within the administration interface from Admin > Monitoring > Email Logs.

This will not show you the email body however, just the recipient and delivery status.

The Compliance BCC email mentioned by Barney Rubble is the other option to be cc'd on future emails.

You may also find the messages you want in the 'EmailMessage' object which will contain the emails sent from within the UI (Case responses). I'm not sure if other emails sent from the UI will appear there. Emails sent from Workflow etc shouldn't appear in this object.

Other than that I am not aware of there being any other way to retrieve email content of emails sent by the system.

1

You can BCC all Salesforce outbound emails to any email address. The feature is called Compliance BCC Emails.

Setup => Email Administration => Compliance BCC Email

http://login.salesforce.com/help/doc/en/admin_compliancebcc.htm

New user notification emails, password resets emails, etc., are not BCC-ed using this feature.

1
  • hi, i want to access the emails that are already sent. could you please let me know if there is any such way
    – Raghu
    Commented Feb 8, 2013 at 8:42

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .