- September 13, 2019 at 11:41 am #62779Laveena #25
Explain Salesforce Apex Email Service?
Explain salesforce Apex Email Service?September 13, 2019 at 12:04 pm #62781Ashutosh #74
You can use email services to process the contents, headers, and attachments of inbound email. For example, you can create an email service that automatically creates contact records based on contact information in messages.
Visualforce email templates cannot be used for mass email.
You can associate each email service with one or more Salesforce-generated email addresses to which users can send messages for processing. To give multiple users access to a single email service, you can:
Associate multiple Salesforce-generated email addresses with the email service and allocate those addresses to users.
Associate a single Salesforce-generated email address with the email service, and write an Apex class that executes according to the user accessing the email service. For example, you can write an Apex class that identifies the user based on the user’s email address and creates records on behalf of that user.
To use email services, from Setup, enter Email Services in the Quick Find box, then select Email Services.
1.Click New Email Service to define a new email service.
2.Select an existing email service to view its configuration, activate or deactivate it, and view or specify addresses for that email service.
3.Click Edit to make changes to an existing email service.
4.Click Delete to delete an email service.
Before deleting email services, you must delete all associated email service addresses.
When defining email services, note the following:
1.An email service only processes messages it receives at one of its addresses.
2.Salesforce limits the total number of messages that all email services combined, including On-Demand Email-to-Case, can process daily. Messages that exceed this limit are bounced, discarded, or queued for processing the next day, depending on how you configure the failure response settings for each email service. Salesforce calculates the limit by multiplying the number of user licenses by 1,000; maximum 1,000,000. For example, if you have 10 licenses, your org can process up to 10,000 email messages a day.
3.Email service addresses that you create in your sandbox cannot be copied to your production org.
4.For each email service, you can tell Salesforce to send error email messages to a specified address instead of the sender’s email address.
5.Email services reject email messages and notify the sender if the email (combined body text, body HTML, and attachments) exceeds approximately 10 MB (varies depending on language and character set).
Please Register to reply to this topic. /