We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4adfb33 commit fbdc07fCopy full SHA for fbdc07f
index.js
@@ -71,11 +71,6 @@ const transporterConfig = {
71
72
class ForwardEmail {
73
constructor(config = {}) {
74
- this.ssl = {
75
- secure: false,
76
- ...config.ssl
77
- };
78
-
79
this.config = {
80
...sharedConfig('SMTP'),
81
// TODO: eventually set 127.0.0.1 as DNS server
@@ -112,7 +107,10 @@ class ForwardEmail {
112
107
...config
113
108
};
114
109
115
- this.config.smtp.ssl = this.config.ssl;
110
+ this.config.smtp = {
111
+ ...this.config.smtp,
+ ...this.config.ssl
+ };
116
117
// set up DKIM instance for signing messages
118
this.dkim = new DKIM(this.config.dkim);
0 commit comments