2014-01-24 14:47:14 -05:00
|
|
|
config = require '../../server_config'
|
|
|
|
|
|
|
|
module.exports.MAILCHIMP_LIST_ID = 'e9851239eb'
|
|
|
|
module.exports.MAILCHIMP_GROUP_ID = '4529'
|
2014-04-21 19:15:23 -04:00
|
|
|
|
|
|
|
# these two need to be parallel
|
|
|
|
module.exports.MAILCHIMP_GROUPS = ['Announcements', 'Adventurers', 'Artisans', 'Archmages', 'Scribes', 'Diplomats', 'Ambassadors']
|
|
|
|
module.exports.NEWS_GROUPS = ['generalNews', 'adventurerNews', 'artisanNews', 'archmageNews', 'scribeNews', 'diplomatNews', 'ambassadorNews']
|
2014-01-24 14:47:14 -05:00
|
|
|
|
|
|
|
nodemailer = require 'nodemailer'
|
2014-06-30 22:16:26 -04:00
|
|
|
module.exports.transport = nodemailer.createTransport 'SMTP',
|
2014-01-24 14:47:14 -05:00
|
|
|
service: config.mail.service
|
|
|
|
user: config.mail.username
|
|
|
|
pass: config.mail.password
|
2014-06-30 22:16:26 -04:00
|
|
|
authMethod: 'LOGIN'
|