From 1e8f7bfbf89d264e6ed08a3f5df2a9eb3f485b22 Mon Sep 17 00:00:00 2001 From: Christopher Hase Date: Wed, 26 Mar 2025 15:55:41 +0100 Subject: [PATCH] create html part 3 --- broker.ts | 4 ++-- deployment.yaml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/broker.ts b/broker.ts index 9e14446..3b1f1dd 100644 --- a/broker.ts +++ b/broker.ts @@ -36,9 +36,9 @@ const transporter = nodemailer.createTransport({ async function sendEmail(content: string) { try { const info = await transporter.sendMail({ - from: '"Test Sender" ', + from: '"The Oracle" ', to: "Christopher.Hase@telekom.com;test@mailhog.local", - subject: "Horoscope from MailHog", + subject: "Your Horoscope Is Ready", text: content, //html: "

${content}

" html: html(content) diff --git a/deployment.yaml b/deployment.yaml index 5de5897..a785769 100644 --- a/deployment.yaml +++ b/deployment.yaml @@ -15,4 +15,5 @@ spec: containers: - image: forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/iching-broker:main name: iching-broker + imagePullPolicy: Always