mirror of https://github.com/eleith/emailjs.git
Compare commits
4 Commits
9526eeb667
...
e786031372
Author | SHA1 | Date |
---|---|---|
ritschwumm | e786031372 | |
eleith | fc175932f6 | |
eleith | e11fac696b | |
ritschwumm | 2cb897238c |
File diff suppressed because one or more lines are too long
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "emailjs",
|
||||
"description": "send text/html emails and attachments (files, streams and strings) from node.js to any smtp server",
|
||||
"version": "4.0.2",
|
||||
"version": "4.0.3",
|
||||
"author": "eleith",
|
||||
"contributors": [
|
||||
"izuzak",
|
||||
|
|
|
@ -130,7 +130,7 @@ function convertAddressTokens(tokens: AddressToken[]) {
|
|||
// http://tools.ietf.org/html/rfc2822#appendix-A.1.3
|
||||
if (isGroup) {
|
||||
addressObjects.push({
|
||||
name: texts.length === 0 ? undefined : texts.join(' '),
|
||||
...(texts.length === 0 ? {} : { name: texts.join(' ') }),
|
||||
group: groups.length > 0 ? addressparser(groups.join(',')) : [],
|
||||
});
|
||||
} else {
|
||||
|
|
|
@ -30,7 +30,7 @@ export class SMTPClient {
|
|||
|
||||
protected sending = false;
|
||||
protected ready = false;
|
||||
protected timer: NodeJS.Timer | null = null;
|
||||
protected timer: NodeJS.Timeout | null = null;
|
||||
|
||||
/**
|
||||
* Create a standard SMTP client backed by a self-managed SMTP connection.
|
||||
|
|
Loading…
Reference in New Issue