Tải bản đầy đủ (.pdf) (2 trang)

Distributed Computing in Java - JavaMail pps

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (17.67 KB, 2 trang )

Distributed Computing in Java Assignments
© 2007 Aptech Ltd Version 1.0 Page 1 of 2
J
J
a
a
v
v
a
a
M
M
a
a
i
i
l
l







Sr. No Assignment Question
1. The Pearl Medical Centre is one of the leading hospitals in Alaska. The
management is planning to implement a mail system for doctors of various
disciplines to communicate with each other. This system would enable the
doctors to share knowledge, patient reports and histories via email attachments
in a safe manner.



The Director of the medical centre and a team of experts have chosen your
company to provide a solution for the same. Consider yourself to be a part of the
team that implements the solution for designing the GUI for the application.

Create an application using Java Mail to implement an email client for sending
email with attachments to a number of people. The sender of the message
enters the email addresses of various doctors in the “To” text box separated by
commas or semicolons. The sender can enter the subject of the mail and the
body text of the mail in the given text of the mail in the text boxes provided. The
GUI for the application is as shown in the figure 9.1.



Distributed Computing in Java Assignments
© 2007 Aptech Ltd Version 1.0 Page 2 of 2

Figure 9.1: GUI for the Email Client

On clicking the send button the email is sent to the recipients along with the
attachments, if any. If the message is sent successfully then a corresponding
message is displayed to the user.

×