Getting Error While Sending Automatic Email On Background
Getting error 'java.lang.NoClassDefFoundError: javax.activation.DataHandler' while Sending automatic email on background..I have added activation.jar ,additional.jar.mail.jar alrea
Solution 1:
The Android SDK makes it very easy to send emails from an application, but unfortunately, that's only if you want to send them via the built-in mailing app. For most situations this works fine, but if you want to send something out and don't want any input/intervention from the user, it's not as easy.
so please follow this link
http://www.jondev.net/articles/Sending_Emails_without_User_Intervention_(no_Intents)_in_Android
Solution 2:
Try going to Project -> Properties -> Java Build Path -> Order & Export and ensure Android Private Libraries are checked for your project and for all other library projects you are using.
Post a Comment for "Getting Error While Sending Automatic Email On Background"