Transport smtp = Session.getTransport("smtp");
smtp.connect(host, port, user, password);
Justy
----- Original Message -----
> Aneesha,
>
> how can i setup my SMTP host?
>
> Cheers,
> SupremeBeing
>
>
> >Date: Mon, 21 May 2001 07:54:01 +1000
> >From: Aneesha <[EMAIL PROTECTED]>
> >SUBJECTTo: [EMAIL PROTECTED]
> >
> >Hi
> >> Aneesha,
> >> thanks a LOT! my connection to mySQL with JSP is working GREAT now.
thanks
> >a ton. i did place my .jar files in the /servers/lib dir instead of where
> >they were and it's working. tell me something, if remove the %CLASSPATH%
> >references from my autoexec.bat, will it work? cause i think JRun's not
> >using the classpath.
> >>
> >Glad to be of assistance. You can remove the references from the
classpath -
> >if Jrun is gonna be the only app that needs access to these.
> >
> >> Somehow my JavaMail is still not working. I did put all my .jar files
> >concerned with JavaMail (mail.jar, smtp.jar, activation.jar etc.) in the
> >/servers/lib dir...but it's still not working.... could you tell me what
> >could be wrong and how to use JavaMail with JRun?
> >>
> >
> >I'm not sure about the javamail. I'll have to test this. What error
message
> >are you getting? I do no that within the Jrun/lib/ext folder you will
find
> >activation, mail and pop jar files. Jrun has a send mail tag. You should
try
> >this and see if it works.
> ><%@ taglib uri="jruntags" prefix="jrun" %>
> >
> ><jrun:sendmail host="owa.allaire.com"
> > sender="[EMAIL PROTECTED]"
> > recipient="[EMAIL PROTECTED]"
> > subject="Hello from SendMail tag">
> >Testing. C.
> ></jrun:sendmail>
> >
> >
> >> >
> >> >Hi
> >> >
> >> >JRun does not use the classpath. Check the documentation for sure but
I
> >> >think you place the jar files in D:\Allaire\JRun\Servers\lib\
> >> >
> >> >Aneesha
> >> >
> >> >
> >> >
> >> >> this is what i'm putting in my autoexec.bat :
> >> >>
> >> >> SET CLASSPATH=%CLASSPATH%;D:\Allaire\javamail\mail.jar
> >> >> SET CLASSPATH=%CLASSPATH%;D:\Allaire\jaf\activation.jar
> >> >> SET CLASSPATH=%CLASSPATH%;D:\Allaire\javamail\smtp.jar
> >> >>
> >> >> and still my JavaMail ain't working. What could be wrong?
> >> >>
> >> >> SupremeBeing
> >> >>
> >> >> >Date: Sat, 12 May 2001 17:08:55 -0500
> >> >> >From: Shahed Ali <[EMAIL PROTECTED]>
> >> >> >Subject: Re: JavaMail with JSP
> >> >> >To: [EMAIL PROTECTED]
> >> >> >
> >> >> >You also need smtp.jar in your classpath
> >> >> >
> >> >>
> >>
>
>>>=========================================================================
=
> >=
> >> >> >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
> >>
> >>
> >> ------------------------------------------------------------
> >> 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
>
>
>
> ******************
> >From my right-eye i create all for myself, from the left-eye i accept all
that there is otherwise. It is nothing more than what i deserve, for i am
the Supreme Being
> ******************
>
> ------------------------------------------------------------
> 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