create html part 3
All checks were successful
ci / build (push) Successful in 1m4s

This commit is contained in:
Christopher Hase 2025-03-26 15:55:41 +01:00
parent 56c75c2f2e
commit 1e8f7bfbf8
2 changed files with 3 additions and 2 deletions

View file

@ -36,9 +36,9 @@ const transporter = nodemailer.createTransport({
async function sendEmail(content: string) { async function sendEmail(content: string) {
try { try {
const info = await transporter.sendMail({ const info = await transporter.sendMail({
from: '"Test Sender" <test@example.com>', from: '"The Oracle" <the.oracle@holy.mountain>',
to: "Christopher.Hase@telekom.com;test@mailhog.local", to: "Christopher.Hase@telekom.com;test@mailhog.local",
subject: "Horoscope from MailHog", subject: "Your Horoscope Is Ready",
text: content, text: content,
//html: "<p> ${content} </p>" //html: "<p> ${content} </p>"
html: html(content) html: html(content)

View file

@ -15,4 +15,5 @@ spec:
containers: containers:
- image: forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/iching-broker:main - image: forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/iching-broker:main
name: iching-broker name: iching-broker
imagePullPolicy: Always