1
0
Fork 0
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Website/src/newsletter.js

57 lines
3.8 KiB
JavaScript

var email = ['gorhgorh@gmail.com']
, config = require('../config')
, Mailgun = require('mailgun').Mailgun
, mg = new Mailgun(config.mailjetKey)
, ml = 'this is a test'
, longmail = ['surreira@gmail.com',
'aditya@netroy.in',
'agcline@gmail.com',
'akylyn@gmail.com',
'alan@gangleri.net',
'bohagan@gmail.com',
'davejustishh@gmail.com',
'daviddias.p@gmail.com',
'eduardo@sorribas.org',
'emilien.ak@gmail.com',
'eva.aufheber@gmail.com',
'feross@feross.org',
'frodoo@riseup.net',
'froidure_nicolas@yahoo.fr',
'g6pestana@gmail.com',
'gagz@riseup.net',
'groente@puscii.nl',
'hannes@mehnert.org',
'ian@iancrowther.co.uk',
'itzmjauz@gmail.com',
'kevinohagan@gmail.com',
'lloyd@evilprofessor.co.uk',
'martin@gausby.dk',
'monikadac@hotmail.com',
'nmirzoeff@gmail.com',
'oli@tableflip.io',
'perpetual-tripper@wwelves.org',
'pixtron@gmail.com',
'prauben@gmail.com',
'rappnicolas@gmail.com',
'ricard.solecasas@gmail.com',
'roman.stulz@netcase.ch',
'squatconf@web.expr42.net',
'ten_shi@hotmail.fr',
'thierry@marianne.io',
'tiago.c.pontes.p@gmail.com',
'zanzara@squat.net']
;
mg.sendText(
config.email.from
, email
, 'squatConf newsletter 01'
, emailCont
, {}
, function(err) {
if (err) console.log('Guru meditation: ' + err)
else console.log('done sir');
});
var emailCont = "#<pre>\n\n#!/usr/doc\ncat <<EOF\n\n0001 tl;dr\n~~~^\nGo to Paris on the 15th November 2014, but where in Paris ?\nwe will contact you before the event starts with further instructions\n\n\n0010 the concept\n~~^~\nLow budget, open & unfiltered gathering, like a flashmob of tech disruptors\n\n\n0011 what you *can* expect\n~~^^\nSaturday:\n10 am start\n\n10 presentations (in English, probably)\n\n\nA variety of topics:\n\n* robotics, hardware\n* cryptography, encryption\n* security, anonymity\n* distributed systems\n* politics, javascript\n* fruit, vegetables\n* white & #ccc & dark\n\nInsights into present & future tech delivered by pioneering non-conformists\n\nEvening celebration\n\nSunday:\nOverflow day, post celebration recovery, spontaneous collaboration, chillin\n\n\n0100 potential unknowns\n~^~~\nWe are unsure that the venue will be sufficiently heated..\n- it's November, dress accordingly\n\nThere may not be power outlets (for everyone), nor reliable wifi\n- bring fully charged battery, tether to a mobile device if you can\n\nDonations accepted onsite:\nFirst and foremost we are a *community* and as such we have an opportunity to\njoin together and do our best effort to provide some food and soft drinks for\nourselves, also please bring some euros for any sundry items that you may need\n(there could be extra food and drinks available for purchase at the venue)\n\nWe have a limited capacity at the venue, we are expecting it to be full, this\nmeans that despite our desire to treat all attendees equally and fairly, those\nthat have already contacted us will be given precedence, in the situation where\nwe are over capacity, we must reserve the right to deny entry to unexpected\narrivals, therefore if you know people who want to attend but have not yet\nsigned up via the website, please contact them and encourage them to do so,\nthen we can plan accordingly, we do not want to cause unnecessary discomfort\nto everyone just to squeeze in an extra 10-15 people that we aren't expecting.\n\n\n0x0f end\n~~~~\nEOF\n\n#</pre>";