import { Controller, Get, Post, Body } from '@nestjs/common';
import { EmailService } from './email.service';

@Controller('email')
export class EmailController {
    
    constructor(
        private service: EmailService
    ) { }
    
    // @Post()
    // sendMail(@Body() body){
    //     console.log("===here===")
    //     return this.service.sendMail(body.toMail,body.subject,body.bodyText,body.htmlText);
    // }
}
