Skip to content

Commit

Permalink
fix resources.groovy
Browse files Browse the repository at this point in the history
  • Loading branch information
mindcrime committed Sep 18, 2013
1 parent 48ecf99 commit f5d01aa
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions grails-app/conf/spring/resources.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@
beans = {

mailSender(org.springframework.mail.javamail.JavaMailSenderImpl) {
// host = 'mail.cpphacker.co.uk'
host='smtp.gmail.com'
port='587'
username = "motley.crue.fan"
password = "7400seriesIC"
username = "[email protected]"
password = "password"
javaMailProperties = ['mail.smtp.auth': 'true',
'mail.smtp.starttls.enable':'true',
'mail.smtp.starttls.required':'true',
Expand All @@ -20,7 +19,7 @@ beans = {
// You can set default email bean properties here,
// eg: from/to/subject mailMessage(org.springframework.mail.SimpleMailMessage) { from = '[email protected]' }
mailMessage(org.springframework.mail.SimpleMailMessage) {
from = '[email protected]'
from = '[email protected]'
}

jmsConnectionFactory(org.springframework.jndi.JndiObjectFactoryBean) {
Expand Down

0 comments on commit f5d01aa

Please sign in to comment.