I wonder: How would this cause an exception on localhost?
I also tried 127.0.0.1. result:
org.apache.commons.mail.EmailException: Sending the email to
the
following server failed : 127.0.0.1:25
at
org.apache.commons.mail.Email.sendMimeMessage(Email.java:873
)
at org.apache.commons.mail.Email.send(Email.java:898)
at
org.blojsom.plugin.comment.CommentPlugin.handleEvent(Comment
Plugin.java:779)
at
org.blojsom.event.SimpleEventBroadcaster$AsynchronousEventBr
oadcaster.run(SimpleEventBroadcaster.java:217)
at java.lang.Thread.run(Thread.java:613)
Caused by: javax.mail.SendFailedException: Sending failed;
nested exception is:
class javax.mail.MessagingException: Could not connect to
SMTP host:
127.0.0.1, port: 25;
nested exception is:
java.net.ConnectException: Connection refused
at javax.mail.Transport.send0(Transport.java:218)
at javax.mail.Transport.send(Transport.java:80)
at
org.apache.commons.mail.Email.sendMimeMessage(Email.java:863
)
On 5/28/07, Shalini <shalini_israni persistent.co.in>
wrote:
> Yes. You do. Its is to be done in web.xml as a servlet
config parameter for
> the BlojsomServlet.
> I think the default value set there is localhost, hence
the exception
>
>
> Thanks,
> Shalini
>
>
>
>
> -----Original Message-----
> From: blojsom-users-bounces lists.sourceforge.net
> [mailto:blojsom-users-bounces lists.sourceforge.net] On
Behalf Of Garrett
> Smith
> Sent: Tuesday, May 29, 2007 11:05 AM
> To: blojsom-users lists.sourceforge.net
> Subject: [Blojsom-users] SMTP configuration? (Stack
Trace)
>
> Do I need to configure SMTP for CommentPlugin?
>
>
========================================================
> ay 28 21:17:54 ERROR [Thread-17] comment.CommentPlugin
- couldn't send
> mail: org.apache.commons.mail.EmailException: Sending
the email to the
> following server failed : localhost:25
> org.apache.commons.mail.EmailException: Sending the
email to the
> following server failed : localhost:25
> at
org.apache.commons.mail.Email.sendMimeMessage(Email.java:873
)
> at
org.apache.commons.mail.Email.send(Email.java:898)
> at
>
org.blojsom.plugin.comment.CommentPlugin.handleEvent(Comment
Plugin.java:779)
> at
>
org.blojsom.event.SimpleEventBroadcaster$AsynchronousEventBr
oadcaster.run(Si
> mpleEventBroadcaster.java:217)
> at java.lang.Thread.run(Thread.java:613)
> Caused by: javax.mail.SendFailedException: Sending
failed;
> nested exception is:
> class javax.mail.MessagingException: Could not
connect to SMTP host:
> localhost, port: 25;
> nested exception is:
> java.net.ConnectException: Connection refused
> at
javax.mail.Transport.send0(Transport.java:218)
> at
javax.mail.Transport.send(Transport.java:80)
> at
org.apache.commons.mail.Email.sendMimeMessage(Email.java:863
)
>
>
========================================================
>
> --
> site still down.
>
>
------------------------------------------------------------
-------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2
express and take
> control of your XML. No limits. Just data. Click to get
it now.
> http://sourcefor
ge.net/powerbar/db2/
> _______________________________________________
> Blojsom-users mailing list
> Blojsom-users lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
>
>
> DISCLAIMER
> ==========
> This e-mail may contain privileged and confidential
information which is the property of Persistent Systems Pvt.
Ltd. It is intended only for the use of the individual or
entity to which it is addressed. If you are not the intended
recipient, you are not authorized to read, retain, copy,
print, distribute or use this message. If you have received
this communication in error, please notify the sender and
delete all copies of this message. Persistent Systems Pvt.
Ltd. does not accept any liability for virus infected
mails.
>
>
------------------------------------------------------------
-------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2
express and take
> control of your XML. No limits. Just data. Click to get
it now.
> http://sourcefor
ge.net/powerbar/db2/
> _______________________________________________
> Blojsom-users mailing list
> Blojsom-users lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
>
--
site still down.
------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
Blojsom-users mailing list
Blojsom-users lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
|