Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cocoon Wiki" for change 
notification.

The following page has been changed by JuanJosePablos:
http://wiki.apache.org/cocoon/SendMailTransformer

------------------------------------------------------------------------------
  See the 
[http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/mail/transformation/SendMailTransformer.html
 APIdoc]
  
  === Problem ===
- It doesn't matter which SMTP-Host (or SMTP-Port) you fill in, you get the 
following error (unless you have a mailserver running on your machine on port 
25):
+ It doesn't matter which SMTP-Host (or SMTP-Port) you fill in, you get the 
following error:
  {{{
  "Could not connect to SMTP host: localhost, port: 25 
(java.net.ConnectException: Connection refused: connect)"
+ }}}
+ if you have a mailserver running on your machine on port 25:
+ {{{
+ Exception sending mail java.lang.ClassCastException: java.lang.String
  }}}
  
  === Solution ===