You need to sign in to do that
Don't have an account?
liron169
Limitation of internal email
Hello,
I'm little bit confuse from all the different limitation in SF.
Can someone explain the limitation of sending emails from apex code to the working user?
I think that we don't have any limitation, but need to make sure
The code will be somthing like this...
for(String objid : objLst) { Messaging.SingleEmailMessage email = new Messaging.SingleEmailMessage(); email.setTargetObjectId(UserInfo.getUserId()); email.setTemplateId('needToCreate'); email.setWhatId(objid); emails_Lst.add(email); } Messaging.sendEmail(emails_Lst);
Link: http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_gov_limits.htm
You are using the setTargetObjectID method, so you are correct. There is no limitation.
Regards,
Satish Kumar
All Answers
Link: http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_gov_limits.htm
You are using the setTargetObjectID method, so you are correct. There is no limitation.
Regards,
Satish Kumar
Thanks.