Quantcast

Cloud Foundry and SMTP

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Cloud Foundry and SMTP

Wangjammer7
Hi,

I'm trying to configure a cloud foundry destined app to send mails.

Does anyone know if CF exposes Java Mail Session instances via JNDI?

Any help would be appreciated.


Chris
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Cloud Foundry and SMTP

Dave Bower
Hi Chris, CloudFoundry just deploys what you set up in your config, if you need a javamail session you'll have to set one up.

I used the Mail plugin as descibed here: http://blog.lourish.com/2010/04/02/sending-asynchronous-html-email-in-grails-with-activemq-jms-and-gmail/ then deployed as normal to CF.

hth

Dave


From: Wangjammer7 <[hidden email]>
To: [hidden email]
Sent: Mon, 17 May, 2010 17:18:56
Subject: [grails-user] Cloud Foundry and SMTP

Hi,

I'm trying to configure a cloud foundry destined app to send mails.

Does anyone know if CF exposes Java Mail Session instances via JNDI?

Any help would be appreciated.


Chris

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Cloud Foundry and SMTP

Wangjammer7
OK, thanks for the information Dave, much appreciated.

Chris

On 17 May 2010, at 21:16, Dave Bower wrote:

Hi Chris, CloudFoundry just deploys what you set up in your config, if you need a javamail session you'll have to set one up.

I used the Mail plugin as descibed here: http://blog.lourish.com/2010/04/02/sending-asynchronous-html-email-in-grails-with-activemq-jms-and-gmail/ then deployed as normal to CF.

hth

Dave


From: Wangjammer7 <[hidden email]>
To: [hidden email]
Sent: Mon, 17 May, 2010 17:18:56
Subject: [grails-user] Cloud Foundry and SMTP

Hi,

I'm trying to configure a cloud foundry destined app to send mails.

Does anyone know if CF exposes Java Mail Session instances via JNDI?

Any help would be appreciated.


Chris



Loading...