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.
2 parents ea069c0 + 8ae0d04 commit 148fc81Copy full SHA for 148fc81
src/email/sendEmail.ts
@@ -1,7 +1,7 @@
1
-import { Message } from './types';
+import { SendMailOptions } from 'nodemailer';
2
import logger from '../utilities/logger';
3
4
-export default async function sendEmail(message: Message): Promise<unknown> {
+export default async function sendEmail(message: SendMailOptions): Promise<unknown> {
5
let result;
6
try {
7
const email = await this.email;
0 commit comments