JavaMail is free and is supported by Sun.  It is available at
http://www.java.sun.com/products/javamail/index.html
JavaMail is implemented entirely in Java and is fully compatible with java,
jsp, etc. and, as such, is also processor independent.  The site mentioned
above has all the information on how to download it, set it up, etc.
JavaMail is a optional java extension package (javax).  The problem with
sendmail is that it is not processor/operating system independent and you
would have to develop the interface between java and that program.

The answer to the question as to why to use it is the same as why we use any
java provided package.  We are paid to implement programs for our companies.
We do not need to continually reinvent work that has been completed,
debugged and is openly available.  We need to do the job we were hired to
do.  Why spend a lot of time and effort dealing with other mail interfaces
when javamail can be installed and in use within a JSP in under 2 hours?

-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of King Maurice
Sent: Friday, May 11, 2001 7:53 AM
To: [EMAIL PROTECTED]
Subject: Re: [JSP-INTEREST] sending emails


How would you implement the javamail api

Do you need to download the javamail.
What are the steps involved to set this up?
Newbie @ java, please forgive....

What are the benifits of javamail over let's say sendmail program that are
out there that are free, etc...




----- Original Message -----
From: "Jim Rueschhoff" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 10, 2001 9:54 AM
Subject: Re: sending emails


> A entirely java based email server is Enigma.  It can be found at
> enigma.intouch.ca .  It is a java based email server that offers pop3,
smtp
> and imap protocols and also offers full public key encryption.  JavaMail
and
> Engima working together allows for a entirely java based email solution.
>
>
>
> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Nishit Trivedi
> Sent: Wednesday, May 09, 2001 2:48 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [JSP-INTEREST] sending emails
>
>
> Supreme Being,
> I am not aware of any application server that comes
> with JavaMail. See, JavaMail is not that huge
> api that app server should include. I think there
> are only two jar files that you have to include in
> your classpath for JavaMail..that's it!!!
>
> one more thing..i didn't try this. But the other thing
> what you can do is : Have a simple function (call it
> sendMail()) which gets called from within jsp page
> and this sendMail function will execute unix process,
> and this unix process will use "SendMail" program which
> sends email..(as we do in perl)..as i told you, this is
> just my thinking..i did not try this..so this might work for
> you. Otherwise for sending mail from jsp page, JavaMail api
> is the best solution...as above, write sendMail function
> which gets called in jsp page.
>
> Nishit
>
> -----Original Message-----
> From: Supreme Being [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 09, 2001 5:18 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: sending emails
>
>
> Nishit, i do have the coding that needs to be applied in sending email
> through JavaMail in a JSP page. I'm using JRun studio on my win98 PC. Tell
> me something, do most servers supporting JSP have JavaMail? because if
they
> don't ... is there an alternate? in any case, is there some other way
other
> than JavaMail by which you can send email using JSP? Also, i still have to
> download and install JavaMail onto my machine, if you've done such a thing
> before..can you tell me if there's any big problem that i might face?
>
> Thanx,
> SupremeBeing
>
>
>
> >Date:         Wed, 9 May 2001 16:29:34 -0400
> >From: Nishit Trivedi <[EMAIL PROTECTED]>
> >SUBJECTTo: [EMAIL PROTECTED]
> >
> >Koustubh,
> >
> >Yes. u can use JavaMail api.
> >if you don't get success through it, let me know..
> >
> >Nishit
> >
> >-----Original Message-----
> >From: Warty, Koustubh [mailto:[EMAIL PROTECTED]]
> >Sent: Wednesday, May 09, 2001 4:19 PM
> >To: [EMAIL PROTECTED]
> >Subject: sending emails
> >
> >
> > Hello ,
> >        In my application suppose the customer places an Order through a
> JSP
> >page by clicking on the "Submit Order" button. Is it possible to send an
> >automatic email response back to the client giving him his order details
??
> >
> > Please do let me know .
> >
> > thanks,
> > - Koustubh
> >
> >
> >
> >
> >
> >
> >
> >
> >
>
>>==========================================================================
> =
> >>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> >>JSP-INTEREST".
> >>For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> >>DIGEST".
> >>Some relevant FAQs on JSP/Servlets can be found at:
> >>
> >> http://java.sun.com/products/jsp/faq.html
> >> http://www.esperanto.org.nz/jsp/jspfaq.html
> >> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> >> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> >>
>
>>==========================================================================
> =
> >>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> >JSP-INTEREST".
> >>For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> >DIGEST".
> >>Some relevant FAQs on JSP/Servlets can be found at:
> >>
> >> http://java.sun.com/products/jsp/faq.html
> >> http://www.esperanto.org.nz/jsp/jspfaq.html
> >> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> >> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> >
> >
> >------------------------------------------------------------
> >Are you a Hoboe?  Hobnob at http://www.hoboe.com
> >Click here -> http://www.hoboe.com Global Mail Access
> >
>
>===========================================================================
> >To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> >JSP-INTEREST".
> >For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> >DIGEST".
> >Some relevant FAQs on JSP/Servlets can be found at:
> >
> > http://java.sun.com/products/jsp/faq.html
> > http://www.esperanto.org.nz/jsp/jspfaq.html
> > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> >
>
>===========================================================================
> >To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> >JSP-INTEREST".
> >For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> >DIGEST".
> >Some relevant FAQs on JSP/Servlets can be found at:
> >
> > http://java.sun.com/products/jsp/faq.html
> > http://www.esperanto.org.nz/jsp/jspfaq.html
> > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> >
>
>===========================================================================
> >To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> >For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> >Some relevant FAQs on JSP/Servlets can be found at:
> >
> > http://java.sun.com/products/jsp/faq.html
> > http://www.esperanto.org.nz/jsp/jspfaq.html
> > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>
> ------------------------------------------------------------
> Are you a Hoboe?  Hobnob at http://www.hoboe.com
> Click here -> http://www.hoboe.com Global Mail Access
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to