Mailjet not send the template language part in the message

194 Views Asked by At

I am using mailjet to send notification to user if they upload a file. So I created a template like that

enter image description here enter image description here

But when i got the message it only send the title and first description part, it does not send the template language part. enter image description here

I dont know if I send the request wrongly. That is how I implemented the request

 async sendNotificationMail() {
    try {
      await this.mailClient.sendMail({
        to: '[email protected]',
        template: '4714581',
        AdvanceErrorHandling: true,
        variables: {
          userName: 'Mehmet',
          projectName: 'Test Project',
          senderName: 'Mehmet',
          senderEmail: '[email protected]',
        },
      });
    } catch (error) {
      this.logger.error(error);
    }
  }

am I need to activate sth to show also template language part? I also tried it with ** TemplateLanguage: true, ** but does not show that part.

0

There are 0 best solutions below