Experience Directory in Software

Java,J2EE,Oracle,Linux experience and workaround tips. If you have thought at least once like "How much should I learn technologies to be good enough developer?", Yes answer is here, just read this articles.All articles are made use at real project and making clients happy!

Thursday, January 03, 2008

Javamail desktop application

The On Demand Global Workforce - oDesk
Javamail desktop application

As you know the Javamail API produced by Sun, If we try and make a mail client application, first we would come up with Javamail.
Javamail
--
Javamail home web site(java.sun.com)
-- Javamail FAQ(java.sun.com)
-- Javamail online traininig(java.sun.com)

http://java.sun.com/developer/onlineTraining/JavaMail/
Now I got an assignment from ODesk that is to send a HTML newsletter to numerous number of recipients(like 1,000 to 15,000) with different recipient name on the top in a HTML body.
and also they wanted me to do same job repeatedly, I guess it will happen in every month. Because newsletter which they sent me has a title includes "December, 2007".

So what I thought to complete this work is to let an application complete mailing a newsletter task.
Before we dealt with, I suggested my solution of what an application does the task and they accepted.

I thought that time I could save one person from working on the boring task that sends hundreds of mails manually by automated and productive idea.

This is my main source of energy for working on that task.

So, now I have to make a HTML newsletter sender application in a short time basically based on JavaMail API.

Here is my tasks that I have to proceed and broke it into small pieces.


---Tasks what I am supposed to do for my ODesk assignment---
1.1.Make sure how to send a mail using gmail account by javamail based desktop application.
+--Javamail using Gmail SMTP 465 port!(forum.java.sun.com)--It has a real and workable sample source snippet. You can very easily copy-paste it and test how it works.

1.2.Make sure how to send HTML newsletter via Gmail account mail server using javamail desktop application.
+--How do I send HTML mail?(java.sun.com)--This is part of Javamail FAQ page and it says that sendhtml.java is all prepared to show how to do by sun.com as a demo application bundled with Javamail package.

1.3.Make sure how to send a HTML news letter includes multiple images embedded using Javamail API.
+--How can I create an HTML message which will contain multiple images?(jGuru)

2.1.Figure out, identify, and decide what the application has to do or in other words, what my client wants it to do.
2.2.Use and make sure the features of a sample desktop application bundled with javamail api package with gmail account
3.Take out unnecessary features and added necessary's.
4.Test it out if it works as my client expects what it has to do by testing manually and automatically.

How is this plan I set up?!
Does anybody figure out the missing tasks what I am suppose to do for this task?!?!

No comments:

The On Demand Global Workforce - oDesk