We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f6fe5d commit 5640223Copy full SHA for 5640223
packages/api-mailer/src/transports/createSmtpTransport.ts
@@ -2,13 +2,12 @@
2
* Nodemailer docs
3
* https://nodemailer.com/about/
4
*/
5
-import type {Transport} from "~/types.js";
+import type { Transport } from "~/types.js";
6
import WebinyError from "@webiny/error";
7
-import type {Transporter} from "nodemailer";
+import type { Transporter } from "nodemailer";
8
import nodemailer from "nodemailer";
9
import type SMTPTransport from "nodemailer/lib/smtp-transport";
10
11
-
12
export type SmtpTransportConfig = SMTPTransport.Options;
13
14
export interface SmtpTransport extends Transport {
@@ -76,7 +75,7 @@ export const createSmtpTransport = (
76
75
error: null
77
};
78
}
79
+
80
return {
81
result: null,
82
error: {
0 commit comments