Language evaluation PHP or Java?
We are working on a mime based email parser. This parser has to connect to multiple mailboxes (one for each client) and fetch the email, extract the headers and body and do some processing. This utility will be scheduled via either cron or gearman and the scheduling interval is configurable i.e left to admin to adjust based on the load.

The kind of load that we are expecting is 1000 mails per mailbox per day and there me be 1:N mailboxes. There may be requirement to process the mailboxes concurrently. So with that as background we are evaluating which language php or java would be good choice (performance point of view) for mime parsing ?. Can somebody whose has worked on similar requirement throw some light ? 
Language evaluation PHP or Java?
===

We are working on a mime based email parser. This parser has to connect to multiple mailboxes (one for each client) and fetch the email, extract the headers and body and do some processing. This utility will be scheduled via either cron or gearman and the scheduling interval is configurable i.e left to admin to adjust based on the load.

The kind of load that we are expecting is 1000 mails per mailbox per day and there me be 1:N mailboxes. There may be requirement to process the mailboxes concurrently. So with that as background we are evaluating which language php or java would be good choice (performance point of view) for mime parsing ?. Can somebody whose has worked on similar requirement throw some light ? 