IMNash
IMNash

Reputation: 25

Compose an outlook E-mail through Java

I want to compose an outlook E-mail through java on my local machine. Can someone please suggest which library to use and few related sample example's would be great.

Want I am really trying to do is this.

  1. compose an outlook email by connecting to outlook with my username and password through java.
  2. attach a file and create a HTML message.
  3. send it to the recipients

Please help me taking first steps to create this program.

Upvotes: 0

Views: 1017

Answers (1)

Bill Shannon
Bill Shannon

Reputation: 29961

I assume what you really want to do is connect to the Exchange mail server and send the message without using the Outlook client application. As long as your Exchange server has SMTP support enabled, you should be able to do that using JavaMail. There's documentation, sample programs, and a FAQ. Start at the JavaMail project page.

Upvotes: 1

Related Questions