app.get('/correo', async (req,res) => {
try {
let c_ini = require('./modulos/settings/initial/c_initial');
let datos_correo = {
type : 'config-compra-facturacion',
nombre : 'Renzo Piedra',
correos : `${'dart.bekicfox@gmail.com'}`,
nro_tarjeta : __num_card_pipe('4912461003119669'),
sub_total : '5.00',
monto_igv : '0.90',
importe_final : '5.90',
num_emision : '23',
dominio : 'colegiovcj',
asunto : global.asunto_compra_facturacion,
// bcc : global.__EMAIL_SENDER
};
global.__APP_BUCKET = 'https://s3.amazonaws.com/prod.smiledu.com/';
global.__SCHOOL_LINK = 'https://colegiovcj.smiledu.com';
let respuesta = await c_ini.sendMailstepComplete(datos_correo);
res.send(respuesta);
} catch (err) {
console.log(err);
}
})
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.