I managed to configure a google email account, but had to create a
context.xml file to put the mail settings instead of using
roller-custom.properties, as explained in section 9.3 of Roller's
installation guide.
Regards,
Alfonso
----- Original Message -----
From: "wdaogang" <wdgwdg...@gmail.com>
To: "user" <user@roller.apache.org>
Sent: Wednesday, September 16, 2009 8:33 AM
Subject: Re: SMTP host without SSL
I just now encoutered like this problem.
In my roller-custom.properties,displayed below,why doesn't it right?
installation.type=auto
database.configurationType=jdbc
database.jdbc.driverClass=com.mysql.jdbc.Driver
database.jdbc.connectionURL=jdbc:mysql://localhost:3306/rollerdb
database.jdbc.username=scott
database.jdbc.password=tiger
mail.configurationType=properties
mail.smtp.host=smtp.gmail.com
mail.smtp.from=wdaogangt...@gmail.com
mail.username=wdaogangt...@gmail.com
mail.user=wdaogangt...@gmail.com
mail.password=testtest
and I can't view all the maillists in 2007 at
http://mail-archives.apache.org/mod_mbox/roller-
2009-09-16
wdaogang
发件人: Vivek Gupta
发送时间: 2009-09-15 15:34:57
收件人: user
抄送:
主题: SMTP host without SSL
I configured Roller 4.0 for mail settings shown below -
mail.hostname=smtp.gmail.com
mail.username=admin
mail.password=admin123
mail.port=465
On startup the roller logs are showing the exception
WARN 2009-09-15 11:24:40,078 WebloggerStartup:prepare - Failed to setup
mail provider, continuing anways.
Reason: ERROR connecting to mail server
org.apache.roller.weblogger.business.startup.StartupException: ERROR
connecting to mail server
at
org.apache.roller.weblogger.business.MailProvider.<init>(MailProvider.java:99)
........
........
javax.mail.MessagingException: Could not connect to SMTP host: localhost,
port: 25;
nested exception is:
java.net.ConnectException: Connection refused: connect
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1282)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
at javax.mail.Service.connect(Service.java:275)
I believe this exception occus because Gmail mail server only allows SSL
connection.
Does anybody aware of any mail server which allows connection without SSL?
or Is there any document/article available about how to setup mail with
SSL
for Roller 4.0?
I tried but couldn't find any....
Regards,
Viv