Sendig of message using secure SMTP

hello all! I need to realize support for authorization to SMTP server for sendin a message. are it possible using JavaMail? Please send me a sample if u have it! zvalov@kiev.relysoftware.com
[204 byte] By [zors] at [2007-9-26 1:47:44]
# 1
1. Session mailSession = Session.getDefaultInstance(properties, null)2. Transport transport = mailSession.getTransport("smtp");3. transport.connect(smtpHost, userid, password);4. transport.sendMessage(message, addresses)
neville_sequeira at 2007-6-29 2:47:09 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...