I read at this thread: Thread , that mail clients on the local machine can be accessed via the class MAPI. What jar file do I need to be able to use this class?
Asked
Active
Viewed 3,094 times
0
-
Please refer this thread I think it will useful for you. http://stackoverflow.com/questions/5618375/java-application-to-access-mailbox-using-mapi – Amith Mendis Jul 09 '13 at 06:10
-
@Markus, did you find any solution? If you got can you please share? – Vishal Singh Dec 18 '15 at 09:06
1 Answers
1
If you want MAPI you could use OpenMapi.
If you don't need to use MAPI, you can instead use JavaMail API, This url has a tutorial about JavaMail API. http://www.mkyong.com/java/javamail-api-sending-email-via-gmail-smtp-example/
Note that JavaMail does not support MAPI and has no plans to do so in the future.

8bitjunkie
- 12,793
- 9
- 57
- 70

Amith Mendis
- 135
- 1
- 4
- 15
-
OpenMapi is not yet available as far as my research goes and Javamail relies on a mail server. I want to send mails directly (hidden for the user) using the default mail client of the operating system running my application. So is it impossible to do this at all? – Markus Jul 09 '13 at 06:34
-
I can't understand what the "default mail client of the operating system" means? – Amith Mendis Jul 09 '13 at 06:41