MrEngineer13 MrEngineer13 - 1 year ago 75
Android Question

Sending HTML E-mails with Attachment for Android

I'm trying to use this solution but Eclipse still cant resolve "Attachment" and "DataService".

I've imported mail.jar and activation.jar, what could I be doing wrong? I've tried countless other sending email solutions on SO/Google but I couldn't get any of them to work with my attachment and send HTML emails.

Any help would be appreciated.

Answer Source

I used this tutorial and changed



    messageBodyPart.setContent(_body, "text/html");
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download