Constructing a message  Sample EAServer JavaMail program

Chapter 35: Creating JavaMail

Sending a message

You use the Transport class to send a message. If you create a JavaMail session that uses the SMTP provider included with EAServer, you can simply use the Transport.send method to send your completed message to all the recipient addresses specified.





Copyright © 2005. Sybase Inc. All rights reserved. Sample EAServer JavaMail program

View this book as PDF