Re: Email Exception on Registering a New User for W

hussayn <[email protected]> Wed, 28 Jan 2009 06:47:25 -0800 (PST)
Newsgroups gmane.comp.java.scarab.devel
Message-ID <[email protected]>
postmaster-935 wrote:
> 
> Alert! An Exception occured. The detailed message: "Sending the email to
> the following server failed : localhost:25"
> 

Scarab NEEDS an email server in the background. Any attempt to use Scarab
without beeing connected to an EMail server doesn't make much sense in the
common case. But Scarab has no embedded EMail server.

So, what to do now ?

I am pretty sure, that your company DOES use an email server. So, should
Scarab be connected to that server. And this is done as follows:

- go to your project home (the Scarab installation directory)
- from there follow the path:   target/scarab/WEB-INF/conf/custom.properties

- open custom.properties (the file should be empty) and insert following
properties:

    system.mail.host=your.email.host
    system.mail.smtp.user=your.smtp.user        # keep empty, if you dont
use smtp user/password
    system.mail.smtp.user=your.smtp.password # keep empty, if you dont use
smtp user/password

    scarab.email.domain=your.domain
    scarab.email.default.fromName=a.valid.email.username
    system.mail.pseudohtml=true
    system.email.html=false

- store and restart Scarab.

From your text i conclude, that you never have built Scarab ? If you are
going to use Scarab in more depth and eventually when you get to the build
system, then take the properties, which i have listed above and place them
into your build.properties file. You will know, what i mean, when you come
to 
build Scarab for the first time.

I hope, this will solve your problem, otherwise get back here and complain
;-)

regards,
Hussayn
-- 
View this message in context: http://www.nabble.com/Email-Exception-on-Registering-a-New-User-for-W-tp21706038p21707152.html
Sent from the Scarab - Dev mailing list archive at Nabble.com.

------------------------------------------------------
http://scarab.tigris.org/ds/viewMessage.do?dsForumId=455&dsMessageId=1063302

To unsubscribe from this discussion, e-mail: [[email protected]].