Advertisement
Guest User

Untitled

a guest
Mar 21st, 2019
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. /**
  2. * Inbound email service that parses emails and attachments from Arvato's novomind system
  3. * and creates Cases and linked ContentVersion and Email records for the inbound email.
  4. *
  5. * @author FirstName LastName <test@email.com>
  6. * @see Novomind.cls
  7. *
  8. * @see Test_NovomindEmailService.cls for Test Coverage.
  9. *
  10. * VERSION HISTORY
  11. * 1.0 2018-12-12 FirstName LastName Initial Version
  12. * 1.1 2018-12-20 FirstName LastName BSO-27 Added support for ContentVersion records
  13. */
  14. // suppression for false positives by static code analysis
  15.  
  16. @SuppressWarnings('ApexUnusedDeclaration,ApexUnresolvableReference,PMD.AvoidGlobalModifier')
  17. global without sharing class EmailHandler_Novomind implements Messaging.InboundEmailHandler {
  18.  
  19. /**
  20. * Email Handler method that is invoked from Apex EmailService
  21. *
  22. * @param email
  23. * @param env
  24. *
  25. * @return
  26. */
  27. global Messaging.InboundEmailResult handleInboundEmail(Messaging.InboundEmail email, Messaging.InboundEnvelope env) {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement