Messaging.singleemailmessage - You can use the setorgwideemailaddressid (id) instance method of singleemailmessage. The answer lies in the documentation you quoted: This cannot be set if the object associated with a. Public static void sendsinglemail(id objid, id templateid, string fromaddress) {. Web the name that appears on the from line of the email. Directly from account, contact, lead, opportunity, case,. Im trying to send an email in apex with the singleemailmessage () function using an existing template and. Web the messaging.singleemailmessage class is a powerful tool that allows you to send.
This cannot be set if the object associated with a. Public static void sendsinglemail(id objid, id templateid, string fromaddress) {. Web the name that appears on the from line of the email. The answer lies in the documentation you quoted: Im trying to send an email in apex with the singleemailmessage () function using an existing template and. You can use the setorgwideemailaddressid (id) instance method of singleemailmessage. Directly from account, contact, lead, opportunity, case,. Web the messaging.singleemailmessage class is a powerful tool that allows you to send.