Thanks for your help Steve, the situation is like follows:
When I clicked "create new account"
I got the exception
=================================
Exception: java.lang.NoClassDefFoundError: javax/mail/Message
at
org.apache.jyve.actions.SendConfirmationEmail.doPerform(SendConfirmationEmai
l.java:136)
......
......
=================================
After that, I tried to add this to my classpath
D:\javamail-1.1.3\mail.jar
and I got another exception
==================================
Exception: java.lang.NoClassDefFoundError: javax/activation/DataSource
at
org.apache.turbine.util.mail.SimpleEmail.<init>(SimpleEmail.java:98)
......
......
===================================
So I added another JAR to the classpath
D:\jaf-1.0.1\activation.jar
Then everything seems to look fine
(i.e. The page "Enter you secret key .." is displayed AND the entry in the
MySQL did show up with the user information I just registered)
But the email never arrived.
I have tried what you told me, changed the mail.server=
to
mail.server=http://[myip] and then tried
mail.server=[myip]
but it still didn't work. Any suggestion? Or documentation? I'm afraid that
I missed out something that is related to the mail.
Is the mail.server means my "Email server" or my "Jetspeed server"?
If it is "Email server", should I use the University mail server or
I have to somehow setup my own email server?
Thanks a lot Steve for spending time for a newbie like me, I know everyone
here are busy.
:o)
Have a nice day.
Wee-Siong
-----Original Message-----
From: sbelt [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 28, 2000 8:36 PM
To: JetSpeed
Subject: Re: Mail API?
You should not need to do anything other than give the Mail server location
in the TurbineResources.properties (mail.server=<your server address>).
To what extent is this not working for you?
If you do not see the link to "Create New Account" in the login screen, then
Jyve's .jar is not in your classPath.
If you get a runtime error when you try to save new account information,
then your database is likely not setup correctly.
If you give some more details on the behavior you are observing, perhaps I
could give some more help.
Steve B.
----- Original Message -----
From: "Chong, Wee-Siong" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 28, 2000 2:07 PM
Subject: Mail API?
> Hi all:
> I have a newbie question here.
> I've been playing around with the Jetspeed 1.2b1, now
> most of the installation works fine.
> :o)
>
> The problem I am having is the Mail API that send confirmation number
> to the new registered visitor.
>
> How should I set up the Mail API, where should I get it,
> is it from j2ee ?
>
> My config:
>
> Win NT
> Tomcat 3.1
>
> Any hints and documentations?
> Thanks alot.
>
> Wee-Siong
>
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Archives and Other: <http://java.apache.org/main/mail.html>
> Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]