SendEmail takes long time... around 20 mins then delete email functionality is not working...

Jun 3, 2014 at 1:36 PM
Hi Higty... Let me explain you my functionality I am looping emails from gmail account, If the email subject matches the criteria then I am processing the email and if not then I am downloading the attachment from the email and sending the same attachment to something person and then deteting that email from my gmail account.

Now everything works fine for small size attachment but when attachment with big size come into picture then It takes long time to send email around 20 mins cause the file size is 20 mb or 25 mb so after sending email when i try to delete that email its not doing that.

So will you please let me know what might be the issue related to that ?
Jun 4, 2014 at 12:09 AM

What exception thrown or without exception?

Maybe connection is disconnected from server.
Please authenticate once again.
Jun 4, 2014 at 6:58 AM
I checked whether the connection is disconnected or not but its not disconnected I deliberately authenticated the session as well but no use I am getting the same thing... I don't know what should i do ? now
Jun 4, 2014 at 7:10 AM

Please show me your code.
I could not say anything detail with these information...