I have a requirement in which I have to write code to send mail to people who are neither contact nor lead. They are people working in our company and do not have any Salesforce login. I have created a workaround by creating contacts of them. And it is always a dangerous thing to have them in Contact as Admin can delete them by mistake. If not now sometimes in future. So my concern is to have a solution in which I can send mail to them without any fear of loosing there contact as it is a continuous basis process. This mail does not go to our client and wholly and solely for internal purpose. Can somebody help me.
- Anybody can ask a question
- Anybody can answer
- The best answers are voted up and rise to the top
Salesforce provides functionality to send email to any person regardless of Contact or Lead or User. However it is bound with a quite restrictive Salesforce governor limit:
Here is a sample code to send email to any email address: