Saturday, February 8, 2014

android using the service and send e-mail questions javamail


            
I use to send mail javamail wrote a class

Use this class to send mail in intentservice no problem, but to send mail using this class will throw an exception in the service, call connect on Transport, MimeMassage saveChanges and send the call is going to be a problem, anybody know why?

How to achieve the e-mail service to send?

Help answer some trouble to know, thanks!
Reply:
Send e-mail should call the network needs to be placed inside the thread processing.
Reply:
The reply was deleted administrator at 2013-12-02 11:19:36

Reply:
Send e-mail should call the network
Reply:
cited a floor birdsaction reply:
sending mail should call the network needs to be placed inside the thread processing.


Just learning android do not understand these, indeed threading issues have been resolved.

No comments:

Post a Comment