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'
|
|
|
|
module.exports.transport = nodemailer.createTransport "SMTP",
|
|
|
|
service: config.mail.service
|
|
|
|
user: config.mail.username
|
|
|
|
pass: config.mail.password
|
|
|
|
authMethod: "LOGIN"
|