cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <>
Subject Re: googlemail ssl via SendMailTransformer
Date Thu, 19 Apr 2007 06:37:52 GMT
On Tue, Apr 17, 2007 at 08:58:57AM +0200, bart remmerie wrote:
> I've finally got it working.
> You just need to get the properties set right (but if you surf the net, you
> will find a lot of different configurations to get gmail up and running)
> The configuration that works for me is the following (unlike Jeff's example
> ?!)

Yes, my apologies, mine doesn't work (though I'm sure it did once in the past).
This is now working for me:

  <Resource name="mail/GmailSmtpServer"

It uses TLS, same as yours, but I find specifying mail.smtp.socketFactory.class
necessary, otherwise JavaMail hangs reading the response.


> mail.smtp.starttls.enable=true
> mail.smtp.port=25 // when behind our corporate firewall
> mail.smtp.port=587 // when not behind the firewall (587 & 465 are the ports
> mentioned by google)
> mail.smtp.auth=true
> Bearing this in mind, adjust the MailMessageSender class to incorporate
> these properties and you can use the
> sendmail example in the cocoon-mail-samples to send a mail using a gmail
> smtp-server.
> Bart

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message