Sending . Contents A)Sending Mail Using Command Line B)Sending Mail Using GUI.

Slides:



Advertisements
Similar presentations
1 Configuring Internet- related services (April 22, 2015) © Abdou Illia, Spring 2015.
Advertisements

The YinYang System. Manager Register/Deregister other Managers Register/Deregister Domains Register/Deregister Active Agents Handle an Agent Service.
1 Configuring Web services (Week 15, Monday 4/17/2006) © Abdou Illia, Spring 2006.
Writing Simple Clients in Java Using Sockets using the JavaMail API.
J2EE JavaMail API Presented by Bartosz Sakowicz. Instalation Java Mail API: Java Activation Framework.
JavaMail JavaMail Classes Sending a Message Using JavaMail (MessageSend.java) Sending a Message to Multiple Recipients (SendToMany.java) Installing JavaMail.
Multi-Platform Electronic Organizer with Client Multi-Platform Electronic Organizer with Client  Kogan Daniel  Kostas Matvey Software Laboratory.
JAVA MAIL API. High level representation of the basic components of any mail system. The components are represented by abstract classes in the javax.mail.
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 12-1 David M. Kroenke’s Chapter Twelve: ODBC Database Processing: Fundamentals,
HOW TO PULL YOUR VOICE MAILS INTO YOUR CLIENT Primary advantage: You will have a permanent.wav file on your PC and you choose when to delete it.
How to My Essay. How to name a document Click “file” Click “Save As” Choose where you want to save it.
Chapter 1 Introduction Outstanding Features About This Book 1. A novel writing style is adopted to try to attract students’ or beginning programmers’ interesting.
Introductory Meeting. Why are we here? RIP FrontPage Versions prior to 2003 will not work with Windows7 No longer supported by Microsoft You can still.
_______________________________________________________________________________________________________________ E-Commerce: Fundamentals and Applications1.
1 Working with MS SQL Server. 2 Objectives You will be able to Use Visual Studio for GUI based interactive access to a Microsoft SQL Server database.
1 Application Layer Lecture 5 Imran Ahmed University of Management & Technology.
1. 2 Windows Live Hotmail  offers access via special Outlook Connector software o provides a two-way sync for  mail  calendar  contacts o access.
XP Modifying the Slide Master Click the View tab on the Ribbon, and then, in the Master Views group, click the Slide Master button Click the Slide Master.
LOGO Server. Contents Introduction 1 Problem Definition 2 Proposed Solution 3 Architecture Diagram 4 Server Technology 5 Hardware and Software.
Marcel Casado NCAR/RAP WEATHER WARNING TOOL NCAR.
FTP Server and FTP Commands By Nanda Ganesan, Ph.D. © Nanda Ganesan, All Rights Reserved.
CPRG 215 Introduction to Object-Oriented Programming with Java Module 1-Introduction to Java Topic 1.2 Getting the Tools and Setting Up the Development.
Selected Topics in Information Technology Programming Language - JAVA Semester 1/2554.
CS 3830 Day 9 Introduction 1-1. Announcements r Quiz #2 this Friday r Demo prog1 and prog2 together starting this Wednesday 2: Application Layer 2.
Oracle Data Integrator Agents. 8-2 Understanding Agents.
Liang, Introduction to Java Programming, Seventh Edition, (c) 2009 Pearson Education, Inc. All rights reserved Chapter 41 JavaServer Face.
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 12-1 David M. Kroenke’s Chapter Twelve: ODBC, OLE DB, ADO, and ASP Part.
MS Word 2010 Tutorial Prepared by: Mr. R. De Vera ii.
1 CA203 Presentation Application Reviewing and Sharing a Presentation Lecture # 11.
JSP Server Integrated with Oracle8i Project2, CMSC691X Summer02 Ching-li Peng Ying Zhang.
The Diagnostic Pathfinder System Introduction Getting Started.
Jadu XForms Training session. Log into Jadu For training purposes, we will use our training server so we don’t break anything on the live site. Go to.
How to use in outlook 365. Opening outlook 365 Firstly you want to click the windows button in the bottom left corner of your screen which will.
 Companies of all branches  Local governments  Educational institutions (schools, universities)  Individuals.
Basics of JDBC Session 14.
MS 365 Student Accounts Orientation Beavercreek High School.
Assignment 1 tutorial. Assignment 1 Programming part: – Socket programming: a chat room application – Individual assignment – Deadline 20 th Oct 2015.
Chapter 3 Servlet Basics. Contents A.Installing Eclipse WTP and configuring Tomcat B.Prime Number Problem C.Multiplication Table Problem.
File Transfer Protocol (FTP) CIS 130. File Transfer Protocol (FTP) Copy files from one internet host (server) to your account on another host –Need domain.
CS520 Web Programming Bits and Pieces of Web Programming (II) Chengyu Sun California State University, Los Angeles.
Internationalization Some Concepts. Contents I.Objects Need to be Internationalized II.Locale III.Formatting a Number in a Locale IV.Parsing a Number.
Threads and Swing Multithreading. Contents I. Simulation on Inserting and Removing Items in a Combo Box II. Event Dispatch Thread III. Rules for Running.
Database Programming Basic JDBC Programming Concepts.
The Echo Server Problem. Contents  Basic Networking Concepts  The Echo Server Problem.
The Echo Server Problem. Contents  Basic Networking Concepts  The Echo Server Problem.
Synchronization (Threads Accessing Shared Data). Contents I.The Bank Transfer Problem II.Doing a Simulation on the Bank Transfer Problem III.New Requirement:
CPRG 215 Introduction to Object-Oriented Programming with Java Module 3- Introduction to Object Oriented Programming concepts Topic 3.1 Fundamental Concepts.
The Chat Problem.
Regular Expressions.
Internationalization The Number Format Problem
Fundamental of Databases
Remote Logging, Electronic Mail, and File Transfer
How to setup Mozilla Thunderbird
The Bouncing Ball Problem (Independent Threads)
KARDEX Drive EWM
Jkelany Chat Project.
CERN-Russia Collaboration in CASTOR Development
CS1101 : Using Course Marker
More About Threads.
Welcome To: Outlook Day 1
Welcome To Outlook Support Number
Security Managers and Permissions
SQL Server 2005 Installation
Iteration 1 Presentation
Moodle LMS Centre for Information and Learning
Configuring Internet-related services
Fink Screen Captures.
Remote Logging, Electronic Mail,
Database Processing: David M. Kroenke’s Chapter Twelve: Part One
On the off chance that your business utilizes Roadrunner as your Internet specialist organization, you will have at least one accounts. While you.
Presentation transcript:

Sending

Contents A)Sending Mail Using Command Line B)Sending Mail Using GUI

A) Sending Mail Using Command Line 1. Obtaining the Encoded Username and Password Using BASE64Encoder 2. Sending Mail

1. Obtaining the Encoded Username and Password Using BASE64Encoder

2. Sending Mail Encoded username Encoded password A blank line must be inserted before the content

B) Sending Mail Using GUI

Solution I.Developing the View II.Adding Listener to Send Button

I. Developing the View

II. Adding Listener to Send Button 1.Asking the MailSender to Send Mail 2.Developing MailSender 3.Clearing Some GUI Components

1. Asking the MailSender to Send Mail

2. Developing MailSender 2.1. Using Low Level Programming 2.2. Using JavaMail API

2.1. Using Low Level Programming Creating a Connection to the Mail Server Sending Mail to the Mail Server

Creating a Connection to the Mail Server

Sending Mail to the Mail Server

2.2. Using JavaMail API Installing JavaMail API Modifying the Design Changing MailSender to LowLevelMailSender Creating the MailSender Interface Hooking MailFrame to MailSender Developing JavaMailSender

Installing JavaMail API Download the JavaMail implementation Unbundle the javamail-[version].zip file Add the mail.jar file to project's CLASSPATH

Modifying the Design Current design

Modified design

Changing MailSender to LowLevelMailSender

Creating the MailSender Interface

Hooking MailFrame to MailSender

Developing JavaMailSender Getting a Session Developing the Message Sending the Message

Getting a Session

Developing the Message

Sending the Message

2.3. Clearing Some GUI Components

References 1. Core Java, Volume II – Advanced Features, Eighth Edition, Chapter 3. Cay S. Horstmann and Gary Cornell. Prentice Hall, jGuru: Fundamentals of the JavaMail API. vaMail/index.html