0

I want to send user data via email without using email clients. I'm following code: Sending Email in Android using JavaMail API without using the default/built-in app

but getting these 4 errors "Invalid ZIP archive:D:\workspace\Form\libs\additionnal.jar ". Please help me out if someone knows.I added external jars in "Android private LIbrairies" folder. please help me I'm badly stuck in it Thanks.

Community
  • 1
  • 1
Zaa Ra
  • 67
  • 2
  • 10
  • The obvious question: is additionnnal.jar a valid jar file? – Luke Sleeman Aug 06 '15 at 04:48
  • @Ravi without using email clients and email intents .. How it will be possible? – Zaa Ra Aug 06 '15 at 04:50
  • Look for this SO Post http://stackoverflow.com/questions/2020088/sending-email-in-android-using-javamail-api-without-using-the-default-built-in-a?lq=1 – NullByte Aug 06 '15 at 05:08
  • @NullByte I'm following that one but getting no output.. there is no error but I'm getting emails .. why? how would I know my data has been sent ? please do tell?? – Zaa Ra Aug 06 '15 at 05:29
  • What this means " there is no error but I'm getting emails"? it means this code working. for this "how would I know my data has been sent" you can check through your sent mail folder – NullByte Aug 06 '15 at 05:39
  • @NullByte oh I'm sorry typing mistake!. I checked There's no email regarding that. – Zaa Ra Aug 06 '15 at 06:06
  • Which email provide you using? – NullByte Aug 06 '15 at 06:23
  • Use this tutorial well described http://mobiledevtuts.com/android/android-sdk-smtp-email-tutorial/ – NullByte Aug 06 '15 at 06:28
  • Let us [continue this discussion in chat](http://chat.stackoverflow.com/rooms/85291/discussion-between-zaa-ra-and-nullbyte). – Zaa Ra Aug 06 '15 at 10:11

0 Answers0