Access to a mail server is required in order for JavaMail to work. See this
particular faq below from Sun which is an answer to the question "Does
JavaMail include all the necessary mail servers?":
http://www.java.sun.com/products/javamail/FAQ.html#incservers
Other faq's about javamail:
http://www.java.sun.com/products/javamail/FAQ.html
http://www.jguru.com/faq/home.jsp?topic=JavaMail
-----Original Message-----
From: Supreme Being [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 28, 2001 12:10 PM
To: [EMAIL PROTECTED]
Subject: Re: jrun:sendmail
Hi,
>You still need a host. owa.allaire.com needs to be replaced by your
>server. Are you using your win 98 computer as a server or are you
yup, i am using win98 PC and i'm just using JRun Studio right now for my JSP
work. I won't be uploading to any server right now. Still am in the learning
stages. the problem is, what is my mail server? What do i put in instead of
owa.allaire.com ? I don't have any particular mail server installed.
>to upload to another server? The sendmail tag is really using >Javamail.
and that is another thing, i just don't know why my JavaMail doesn't work.
What they told me was to download the JavaMail & JAF from Sun and it'll
work....but it never did. Then some Mr. Ottinger or whatever started this
thing about having a Mail Server first then using JavaMail.
help!
SupremeBeing
>
>Aneesha
>
>
>> I'm trying to use the "sendmail" feature of JSP. I'm running JRun Studio
>on my win98 pc. Following is the code i used :
>>
>> <jrun:sendmail host="owa.allaire.com"
>> sender="[EMAIL PROTECTED]"
>> recipient="[EMAIL PROTECTED]"
>> subject="Hello from SendMail tag">
>> Trying to test
>> </jrun:sendmail>
>>
>> Though the page gives no error of any kind...nothing happens. What am i
>doing wrong? Is there some kind of configuration reqd. to be done prior to
>using this tag?
>>
>> Whatever Mr. Ottinger (or whatever's your name) talked about in big heaps
>of gold & metal... i don't know...frankly i don't care cause this ain't the
>first list i'm using or the lonely one for learning & enhancing the
>programming power. Please don't inform me about the "procedures of reading
>the manual first & then asking". You're not the only one swimming these
>waters.... People come here when they want to learn how to swim...sometimes
>you get the air-ring support..sometimes you don't. In any case, if you
don't
>wanna be extra nice - please don't be, most welcome... but please don't be
a
>grouch...you're wasting your own breath.
>> ...and trust me Mr. Ottinger, with all due respect, reading the docs or
>not reading them doesn't make you any more or any less Supreme. Visit my
hut
>and i'll show you what i'm taking about.
>>
>> Peace 2 you and Chow 2 rest.
>>
>> Supreme Being
>>
>>
>> >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
******************
>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
This email message is for the sole use of the intended recipient(s) and may
contain proprietary and confidential information. Any unauthorized review,
use, disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply email and destroy all copies
of the original message. Thank you
===========================================================================
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