Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Inbound email service that parses emails and attachments from Arvato's novomind system
- * and creates Cases and linked ContentVersion and Email records for the inbound email.
- *
- * @author FirstName LastName <test@email.com>
- * @see Novomind.cls
- *
- * @see Test_NovomindEmailService.cls for Test Coverage.
- *
- * VERSION HISTORY
- * 1.0 2018-12-12 FirstName LastName Initial Version
- * 1.1 2018-12-20 FirstName LastName BSO-27 Added support for ContentVersion records
- */
- // suppression for false positives by static code analysis
- @SuppressWarnings('ApexUnusedDeclaration,ApexUnresolvableReference,PMD.AvoidGlobalModifier')
- global without sharing class EmailHandler_Novomind implements Messaging.InboundEmailHandler {
- /**
- * Email Handler method that is invoked from Apex EmailService
- *
- * @param email
- * @param env
- *
- * @return
- */
- global Messaging.InboundEmailResult handleInboundEmail(Messaging.InboundEmail email, Messaging.InboundEnvelope env) {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement