envio email
This commit is contained in:
@@ -57,6 +57,8 @@ try{
|
||||
|
||||
|
||||
await sendEmail(nombre, correo, mensaje);
|
||||
console.log('Email sent successfully');
|
||||
response.status(200).json({error:false, msj: 'Correo enviado exitosamente'})
|
||||
}
|
||||
catch{
|
||||
console.log(`error al mandar correo`);
|
||||
|
||||
Reference in New Issue
Block a user