+ Start a Discussion
Prince VenkatPrince Venkat 

Email through Apex

Hi

when ever we send an email it should be logged with an object activity.

How to achieve this

Thanks in advance
ANUTEJANUTEJ (Salesforce Developers) 
Hi Prince,

>> https://salesforce.stackexchange.com/questions/12044/where-can-i-see-a-record-of-outbound-emails

To access email logs, click Your Name | Setup | Monitoring | Email Log Files.

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

For that to work, the employee will need to have the "Modify All Data" as described here [https://help.salesforce.com/articleView?id=sf.email_logs_format.htm&type=5].

Let me know if it helps you and close your query by marking it as the best answer so that it can help others in the future.  

Thanks.
mukesh guptamukesh gupta
Hi Prince,

Requirment is not clear,  please elobrate more

Regards
Mukesh