We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 135da91 commit c64d55bCopy full SHA for c64d55b
server/src/service/email-service.ts
@@ -49,10 +49,6 @@ function canSendEmail(): boolean {
49
}
50
51
function sendEmail(to: string[], subject: string, text: string) {
52
- if (!(EmailSettings.SMTP_HOST ?? EmailSettings.SMTP_PORT)) {
53
- throw new Error("No SMTP email server set! Cannot send email.");
54
- }
55
-
56
createTransport(EmailSettings.SMTP_OPTIONS)
57
.sendMail({
58
from: EmailSettings.SMTP_FROM,
0 commit comments