create html part 5
This commit is contained in:
parent
b595747494
commit
d646ba60c1
1 changed files with 2 additions and 1 deletions
|
@ -41,7 +41,8 @@ async function sendEmail(content: string) {
|
||||||
subject: "Your Horoscope Is Ready",
|
subject: "Your Horoscope Is Ready",
|
||||||
text: content,
|
text: content,
|
||||||
//html: "<p> ${content} </p>"
|
//html: "<p> ${content} </p>"
|
||||||
html: html(content)
|
//html: html(content)
|
||||||
|
html: content
|
||||||
});
|
});
|
||||||
|
|
||||||
console.log("E-Mail sent: ", info.messageId);
|
console.log("E-Mail sent: ", info.messageId);
|
||||||
|
|
Loading…
Reference in a new issue