nodemailer final

This commit is contained in:
xXpuma99Xx
2022-06-24 03:06:01 -05:00
parent e159c56890
commit 6a1c6786b5
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -1,12 +1,12 @@
import { IsEmail, IsInt, IsString } from 'class-validator';
import { IsEmail, IsString } from 'class-validator';
export class NodemailerMessageDto {
@IsEmail()
email: string;
@IsString()
subject: string;
html: string;
@IsString()
html: string;
subject: string;
}
+1 -1
View File
@@ -1,6 +1,6 @@
import * as nodemailer from 'nodemailer';
import { Injectable } from '@nestjs/common';
import { ConfigService } from '@nestjs/config';
import * as nodemailer from 'nodemailer';
import { NodemailerMessageDto } from './dto/nodemailer-message.dto';
@Injectable()