Gary, I'm sometimes not a good "enlightener", however here you have an
attempt to explain:

The original class represents an email message and has a method that
opens a mailto URL and send what is given by the toString() function.
The toString() simply returns the e-mail message in RFC822 format.

You have the following variables:

to_address : the address you want to send to
from_address: the from address
subject: the subject
body: the body of the message

I don't think it's so difficult. Probably weird, but not difficult.
Could you explain what you don't understand ?

I forgot to mention that it is a good idea that you do not assume the
system to be properly configured, and set (from some configuration
setting at initargs) the SMTP mail host:

System.getProperties().put("mail.host", your_mailhost_here);

HTH,

Carlos


Formanek Gary L wrote:
>
> Maybe you can enlighten me, but I don't see how this actually sends an
> email?
>
> Thanks,
>
> Gary

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to