diff --git a/servicio-notificaciones/src/email.controller.ts b/servicio-notificaciones/src/email.controller.ts index 66ffbdb5..d1363138 100644 --- a/servicio-notificaciones/src/email.controller.ts +++ b/servicio-notificaciones/src/email.controller.ts @@ -22,7 +22,7 @@ export class EmailController { @MessagePattern({ cmd: 'html' }) async postHTMLEmail(@Payload() user: any) { const url = "http://localhost:3000/"; - const image = "images/email.ong"; + const image = "images/email.png"; var response = await this.mailService.sendMail({ to: user["email"], from: "mbonilla.guti@gmail.com", @@ -48,7 +48,7 @@ export class EmailController { async emailCreateUserAdmin(@Payload() user: any) { const url = "http://localhost:3000/"; const image = "images/email.png"; - const logo = "images/Logo Katoikia.svg"; + const logo = "images/Logo Katoikia.png"; var response = await this.mailService.sendMail({ to: user["email"], from: "mbonilla.guti@gmail.com", @@ -69,8 +69,8 @@ export class EmailController { cid: 'image_email' //my mistake was putting "cid:logo@cid" here! }, { - filename: 'Logo Katoikia.svg', - path: __dirname + '/mails/images/Logo Katoikia.svg', + filename: 'Logo_Katoikia.png', + path: __dirname + '/mails/images/Logo_Katoikia.png', cid: 'logoKatoikia' //my mistake was putting "cid:logo@cid" here! } ] diff --git a/servicio-notificaciones/src/mails/emailCreateUserAdmin.hbs b/servicio-notificaciones/src/mails/emailCreateUserAdmin.hbs index e14f72e0..334dfd5b 100644 --- a/servicio-notificaciones/src/mails/emailCreateUserAdmin.hbs +++ b/servicio-notificaciones/src/mails/emailCreateUserAdmin.hbs @@ -10,6 +10,10 @@