+ Start a Discussion

Help regarding Apex Inbound Email Service

Hello Friends,

I have implmented the Apex Inbound Email service for follow-up tracking and updating cases in my salesforce instance.

This is all working fine. But i was just wondering regarding the concurrency issues!

Means, in case multiple people reply to the Email Service address, then what happens to my email service execution. Will it process the emails one by one sequentially or would there by any failures/exceptions?

Is there a way to make it work in bulk mode? Like instead of processing a single "inboundMail" object, can/should I process a batch like what we do in triggers?

Can some1 pls clarify this?

Many Thanks,


Rasmus MenckeRasmus Mencke

it is all individually processed. Since the emails are differnt emails with different content, e.g. the headers are different and message ID's are different, we would not bulk them up and collect them as one email.




Thanks rasmus!

That should take care of a lot of issues for me :)