[英]Send Email in Angular Typescript
I am trying send a email with html body on click of button I am using Angular 10.0.8 is there any possible way to send email using SMTP Relay in typescript without using nodejs
您可以使用email.js或smtp.js 之類的東西
使用 smtp.js 你可以
Email.send({
SecureToken : "C973D7AD-F097-4B95-91F4-40ABC5567812",
To : 'them@website.com',
From : "you@isp.com",
Subject : "This is the subject",
Body : "And this is the body"
}).then(
message => alert(message)
);
安全密鑰是在網站上生成的,與您的憑據不同
但這目前僅安全地支持 Elasticmail smtpjs.com 文檔
email.js 是付費服務
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.