using cuestionario2 has atribute, create credentials for testing
This commit is contained in:
@@ -6,16 +6,16 @@ const send = require('gmail-send')({
|
||||
});
|
||||
|
||||
const gmail = (subject, to, text) => {
|
||||
/*
|
||||
|
||||
return new Promise((resolve, reject) => {
|
||||
send({ subject, to, text }, (error, result, fullResult) => {
|
||||
if (error) reject(error);
|
||||
resolve(result);
|
||||
});
|
||||
});
|
||||
*/
|
||||
|
||||
|
||||
return "envio de correo"
|
||||
// return "envio de correo"
|
||||
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user