This repository has been archived by the owner on Dec 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b743c01
commit 3eb752e
Showing
2 changed files
with
13 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "forward-email", | ||
"description": "ForwardEmail is the best free email forwarding for custom domains at http://forwardemail.net", | ||
"version": "3.0.1", | ||
"version": "3.1.0", | ||
"author": "Nick Baugh <[email protected]> (http://niftylettuce.com/)", | ||
"ava": { | ||
"serial": true, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -165,14 +165,7 @@ if (!isCI) | |
text: 'test text', | ||
html: '<strong>test html</strong>', | ||
attachments: [], | ||
dkim: { | ||
domainName: 'forwardemail.net', | ||
keySelector: 'default', | ||
privateKey: fs.readFileSync( | ||
path.join(__dirname, '..', 'dkim-private.key'), | ||
'utf8' | ||
) | ||
} | ||
dkim: t.context.forwardEmail.config.dkim | ||
}); | ||
return new Promise(resolve => { | ||
connection.once('end', resolve); | ||
|
@@ -199,14 +192,7 @@ if (!isCI) | |
text: 'test text', | ||
html: '<strong>test html</strong>', | ||
attachments: [], | ||
dkim: { | ||
domainName: 'forwardemail.net', | ||
keySelector: 'default', | ||
privateKey: fs.readFileSync( | ||
path.join(__dirname, '..', 'dkim-private.key'), | ||
'utf8' | ||
) | ||
} | ||
dkim: t.context.forwardEmail.config.dkim | ||
}); | ||
return new Promise(resolve => { | ||
connection.once('end', resolve); | ||
|
@@ -234,14 +220,7 @@ if (!isCI) | |
text: 'test text', | ||
html: '<strong>test html</strong>', | ||
attachments: [], | ||
dkim: { | ||
domainName: 'forwardemail.net', | ||
keySelector: 'default', | ||
privateKey: fs.readFileSync( | ||
path.join(__dirname, '..', 'dkim-private.key'), | ||
'utf8' | ||
) | ||
} | ||
dkim: t.context.forwardEmail.config.dkim | ||
}); | ||
return new Promise(resolve => { | ||
connection.once('end', resolve); | ||
|
@@ -275,14 +254,7 @@ if (!isCI) | |
text: 'test text', | ||
html: '<strong>test html</strong>', | ||
attachments: [], | ||
dkim: { | ||
domainName: 'forwardemail.net', | ||
keySelector: 'default', | ||
privateKey: fs.readFileSync( | ||
path.join(__dirname, '..', 'dkim-private.key'), | ||
'utf8' | ||
) | ||
} | ||
dkim: t.context.forwardEmail.config.dkim | ||
}); | ||
return new Promise(resolve => { | ||
connection.once('end', resolve); | ||
|
@@ -309,14 +281,7 @@ if (!isCI) | |
text: 'test text', | ||
html: '<strong>test html</strong>', | ||
attachments: [], | ||
dkim: { | ||
domainName: 'forwardemail.net', | ||
keySelector: 'default', | ||
privateKey: fs.readFileSync( | ||
path.join(__dirname, '..', 'dkim-private.key'), | ||
'utf8' | ||
) | ||
} | ||
dkim: t.context.forwardEmail.config.dkim | ||
}); | ||
return new Promise(resolve => { | ||
connection.once('end', resolve); | ||
|
@@ -346,14 +311,7 @@ if (!isCI) | |
text: 'test text', | ||
html: '<strong>test html</strong>', | ||
attachments: [], | ||
dkim: { | ||
domainName: 'forwardemail.net', | ||
keySelector: 'default', | ||
privateKey: fs.readFileSync( | ||
path.join(__dirname, '..', 'dkim-private.key'), | ||
'utf8' | ||
) | ||
} | ||
dkim: t.context.forwardEmail.config.dkim | ||
}); | ||
/* | ||
t.deepEqual(info.envelope, ['[email protected]']); | ||
|
@@ -383,14 +341,7 @@ if (!isCI) | |
text: 'test text', | ||
html: '<strong>test html</strong>', | ||
attachments: [], | ||
dkim: { | ||
domainName: 'forwardemail.net', | ||
keySelector: 'default', | ||
privateKey: fs.readFileSync( | ||
path.join(__dirname, '..', 'dkim-private.key'), | ||
'utf8' | ||
) | ||
} | ||
dkim: t.context.forwardEmail.config.dkim | ||
}); | ||
/* | ||
t.deepEqual(info.envelope, ['[email protected]']); | ||
|
@@ -421,14 +372,7 @@ if (!isCI) | |
text: 'test text', | ||
html: '<strong>test html</strong>', | ||
attachments: [], | ||
dkim: { | ||
domainName: 'forwardemail.net', | ||
keySelector: 'default', | ||
privateKey: fs.readFileSync( | ||
path.join(__dirname, '..', 'dkim-private.key'), | ||
'utf8' | ||
) | ||
} | ||
dkim: t.context.forwardEmail.config.dkim | ||
}); | ||
/* | ||
t.deepEqual(info.envelope, [ | ||
|
@@ -464,14 +408,7 @@ if (!isCI) | |
text: 'test text', | ||
html: '<strong>test html</strong>', | ||
attachments: [], | ||
dkim: { | ||
domainName: 'forwardemail.net', | ||
keySelector: 'default', | ||
privateKey: fs.readFileSync( | ||
path.join(__dirname, '..', 'dkim-private.key'), | ||
'utf8' | ||
) | ||
} | ||
dkim: t.context.forwardEmail.config.dkim | ||
}); | ||
return new Promise(resolve => { | ||
connection.once('end', resolve); | ||
|
@@ -499,14 +436,7 @@ if (!isCI && shell.which('spamassassin') && shell.which('spamc')) | |
// <https://github.com/humantech/node-spamd/blob/master/test/spamd-tests.js#L13-L14> | ||
subject: 'Viagra, Cialis, Vicodin: buy medicines without prescription!', | ||
html: 'Cheap prices on viagra, cialis, vicodin! FPA approved!', | ||
dkim: { | ||
domainName: 'forwardemail.net', | ||
keySelector: 'default', | ||
privateKey: fs.readFileSync( | ||
path.join(__dirname, '..', 'dkim-private.key'), | ||
'utf8' | ||
) | ||
} | ||
dkim: t.context.forwardEmail.config.dkim | ||
}); | ||
return new Promise(resolve => { | ||
connection.once('end', resolve); | ||
|
@@ -605,14 +535,7 @@ if (!isCI) | |
subject: 'test', | ||
text: 'test text', | ||
html: '<strong>test html</strong>', | ||
dkim: { | ||
domainName: 'forwardemail.net', | ||
keySelector: 'default', | ||
privateKey: fs.readFileSync( | ||
path.join(__dirname, '..', 'dkim-private.key'), | ||
'utf8' | ||
) | ||
} | ||
dkim: t.context.forwardEmail.config.dkim | ||
}); | ||
return new Promise(resolve => { | ||
connection.once('end', resolve); | ||
|
@@ -726,14 +649,7 @@ if (!isCI) | |
subject: 'test', | ||
text: 'test text', | ||
html: '<strong>test html</strong>', | ||
dkim: { | ||
domainName: 'forwardemail.net', | ||
keySelector: 'default', | ||
privateKey: fs.readFileSync( | ||
path.join(__dirname, '..', 'dkim-private.key'), | ||
'utf8' | ||
) | ||
} | ||
dkim: t.context.forwardEmail.config.dkim | ||
}); | ||
const connection = new Client({ port, tls }); | ||
connection.once('end', resolve); | ||
|