You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I omit for example the 'timeout' option, it works ok. If I set timeout to be undefined, it does throw:
// Does go well:
emailJs.server.connect({
user: "username",
password: "password",
host: "127.0.0.1",
port: 1234
});
// Does not go well:
// Will throw `The "msecs" argument must be of type number. Received type undefined`
emailJs.server.connect({
user: "username",
password: "password",
host: "127.0.0.1",
port: 1234,
timeout: undefined
});
This problem occurs since version 2.1.0. Version 2.0.0 did work as expected.
Expected behavior
both of above code snippets should work the same way.
The text was updated successfully, but these errors were encountered:
When I omit for example the 'timeout' option, it works ok. If I set timeout to be undefined, it does throw:
This problem occurs since version 2.1.0. Version 2.0.0 did work as expected.
Expected behavior
both of above code snippets should work the same way.
The text was updated successfully, but these errors were encountered: