From f5d01aa72b50f56a3c2b45b02caf76ffd6be3276 Mon Sep 17 00:00:00 2001 From: "Phillip Rhodes (mindcrime)" Date: Wed, 18 Sep 2013 17:30:57 -0400 Subject: [PATCH] fix resources.groovy --- grails-app/conf/spring/resources.groovy | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/grails-app/conf/spring/resources.groovy b/grails-app/conf/spring/resources.groovy index 868f6fe..a9f45f3 100644 --- a/grails-app/conf/spring/resources.groovy +++ b/grails-app/conf/spring/resources.groovy @@ -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 = "user@gmail.com" + password = "password" javaMailProperties = ['mail.smtp.auth': 'true', 'mail.smtp.starttls.enable':'true', 'mail.smtp.starttls.required':'true', @@ -20,7 +19,7 @@ beans = { // You can set default email bean properties here, // eg: from/to/subject mailMessage(org.springframework.mail.SimpleMailMessage) { from = 'myapp@maurice.co.uk' } mailMessage(org.springframework.mail.SimpleMailMessage) { - from = 'mindcrime@cpphacker.co.uk' + from = 'neddick@example.com' } jmsConnectionFactory(org.springframework.jndi.JndiObjectFactoryBean) {