This commit is contained in:
parent
56c75c2f2e
commit
1e8f7bfbf8
2 changed files with 3 additions and 2 deletions
|
@ -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)
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue