Changeset 1669


Ignore:
Timestamp:
Mar 23, 2011, 1:32:02 PM (6 years ago)
Author:
work@…
Message:

no more gmails

Location:
trunk/grails-app/conf
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/conf/BootStrap.groovy

    r1667 r1669  
    3535                // get configuration
    3636                def config = grailsApplication.config
    37 
    38                 // set the mail configuration properties in runtime, as
    39                 // this is not definable in a .properties file due to the
    40                 // fact for the mail properties a map is used
    41                 if (config.grails.mail.username && config.grails.mail.password) {
    42                         if (config.grails.mail.host =~ 'live.com') {
    43                                 // use microsoft hotmail
    44                                 config.grails.mail.port = 587
    45                                 config.grails.mail.props = [
    46                                         "mail.smtp.starttls.enable"     : "true",
    47                                         "mail.smtp.port"                        : "587"
    48                                 ]
    49                         } else {
    50                                 // assume gmail
    51                                 config.grails.mail.port = 465
    52                                 config.grails.mail.props= [
    53                                         "mail.smtp.auth"                                        : "true",
    54                                         "mail.smtp.socketFactory.port"          : '465',
    55                                         "mail.smtp.socketFactory.class"         : "javax.net.ssl.SSLSocketFactory",
    56                                         "mail.smtp.socketFactory.fallback"      : "false"
    57                                 ]
    58                         }
    59                 }
    6037
    6138                // define timezone
  • trunk/grails-app/conf/config-ci.properties

    r1501 r1669  
    1616dataSource.password=dbnp
    1717#dataSource.logSql=true
    18 
    19 # E-MAIL
    20 # use authenticated smtp (make sure your firewall allows
    21 # outbound connections on port 465), or
    22 #  - comment username and password to use non-authenticated
    23 #    mail (on port 25)
    24 #  - comment out all to use local mailer (e.g. postfix /
    25 #    sendmail on port 25)
    26 grails.mail.host=smtp.gmail.com
    27 grails.mail.username=gscf.default.installation@gmail.com
    28 grails.mail.password=s7udycap7r3
    2918
    3019# SpringSecurity E-Mail Settings
  • trunk/grails-app/conf/config-dbnpdemo.properties

    r1630 r1669  
    1616dataSource.password=dbnp
    1717#dataSource.logSql=true
    18 
    19 # E-MAIL
    20 # use authenticated smtp (make sure your firewall allows
    21 # outbound connections on port 465), or
    22 #  - comment username and password to use non-authenticated
    23 #    mail (on port 25)
    24 #  - comment out all to use local mailer (e.g. postfix /
    25 #    sendmail on port 25)
    26 #grails.mail.host=smtp.gmail.com
    27 #grails.mail.username=gscf.default.installation@gmail.com
    28 #grails.mail.password=s7udycap7r3
    2918
    3019# SpringSecurity E-Mail Settings
  • trunk/grails-app/conf/config-dbnptest.properties

    r1630 r1669  
    1616dataSource.password=dbnp
    1717#dataSource.logSql=true
    18 
    19 # E-MAIL
    20 # use authenticated smtp (make sure your firewall allows
    21 # outbound connections on port 465), or
    22 #  - comment username and password to use non-authenticated
    23 #    mail (on port 25)
    24 #  - comment out all to use local mailer (e.g. postfix /
    25 #    sendmail on port 25)
    26 #grails.mail.host=smtp.gmail.com
    27 #grails.mail.username=gscf.default.installation@gmail.com
    28 #grails.mail.password=s7udycap7r3
    2918
    3019# SpringSecurity E-Mail Settings
  • trunk/grails-app/conf/config-development.properties

    r1501 r1669  
    1515dataSource.password=
    1616#dataSource.logSql=true
    17 
    18 # E-MAIL
    19 # use authenticated smtp (make sure your firewall allows
    20 # outbound connections on port 465), or
    21 #  - comment username and password to use non-authenticated
    22 #    mail (on port 25)
    23 #  - comment out all to use local mailer (e.g. postfix /
    24 #    sendmail on port 25)
    25 grails.mail.host=smtp.gmail.com
    26 grails.mail.username=gscf.default.installation@gmail.com
    27 grails.mail.password=s7udycap7r3
    2817
    2918# SpringSecurity E-Mail Settings
  • trunk/grails-app/conf/config-nmcdsptest.properties

    r1501 r1669  
    1616dataSource.password=dbnp
    1717#dataSource.logSql=false
    18 
    19 # E-MAIL
    20 # use authenticated smtp (make sure your firewall allows
    21 # outbound connections on port 465), or
    22 #  - comment username and password to use non-authenticated
    23 #    mail (on port 25)
    24 #  - comment out all to use local mailer (e.g. postfix /
    25 #    sendmail on port 25)
    26 grails.mail.host=smtp.gmail.com
    27 grails.mail.username=gscf.default.installation@gmail.com
    28 grails.mail.password=s7udycap7r3
    2918
    3019# SpringSecurity E-Mail Settings
  • trunk/grails-app/conf/config-production.properties

    r1501 r1669  
    1616dataSource.password=dbnp
    1717#dataSource.logSql=true
    18 
    19 # E-MAIL
    20 # use authenticated smtp (make sure your firewall allows
    21 # outbound connections on port 465), or
    22 #  - comment username and password to use non-authenticated
    23 #    mail (on port 25)
    24 #  - comment out all to use local mailer (e.g. postfix /
    25 #    sendmail on port 25)
    26 grails.mail.host=smtp.gmail.com
    27 grails.mail.username=gscf.default.installation@gmail.com
    28 grails.mail.password=s7udycap7r3
    2918
    3019# SpringSecurity E-Mail Settings
  • trunk/grails-app/conf/config-test.properties

    r1501 r1669  
    1515dataSource.password=
    1616#dataSource.logSql=true
    17 
    18 # E-MAIL
    19 # use authenticated smtp (make sure your firewall allows
    20 # outbound connections on port 465), or
    21 #  - comment username and password to use non-authenticated
    22 #    mail (on port 25)
    23 #  - comment out all to use local mailer (e.g. postfix /
    24 #    sendmail on port 25)
    25 grails.mail.host=smtp.gmail.com
    26 grails.mail.username=gscf.default.installation@gmail.com
    27 grails.mail.password=s7udycap7r3
    2817
    2918# SpringSecurity E-Mail Settings
  • trunk/grails-app/conf/config-www.properties

    r1501 r1669  
    1616dataSource.password=dbnp
    1717#dataSource.logSql=true
    18 
    19 # E-MAIL
    20 # use authenticated smtp (make sure your firewall allows
    21 # outbound connections on port 465), or
    22 #  - comment username and password to use non-authenticated
    23 #    mail (on port 25)
    24 #  - comment out all to use local mailer (e.g. postfix /
    25 #    sendmail on port 25)
    26 grails.mail.host=smtp.gmail.com
    27 grails.mail.username=gscf.default.installation@gmail.com
    28 grails.mail.password=s7udycap7r3
    2918
    3019# SpringSecurity E-Mail Settings
Note: See TracChangeset for help on using the changeset viewer.