From 9600846b610e57bbe26101160194fddea0a48f7a Mon Sep 17 00:00:00 2001 From: Marcin Kulik Date: Wed, 17 Jan 2024 23:36:39 +0100 Subject: [PATCH] Revert "Disable text body in login email to workaround SMTP "bare LF" error" This reverts commit 684b17153357d15a96d807954497d4d4ededddf9. --- lib/asciinema/emails/email.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/asciinema/emails/email.ex b/lib/asciinema/emails/email.ex index e1ac1da5e..696134854 100644 --- a/lib/asciinema/emails/email.ex +++ b/lib/asciinema/emails/email.ex @@ -8,7 +8,7 @@ defmodule Asciinema.Emails.Email do base_email() |> to(email_address) |> subject("Welcome to #{hostname}") - # |> render("signup.text", signup_url: signup_url, hostname: hostname) + |> render("signup.text", signup_url: signup_url, hostname: hostname) |> render("signup.html", signup_url: signup_url, hostname: hostname) end @@ -18,7 +18,7 @@ defmodule Asciinema.Emails.Email do base_email() |> to(email_address) |> subject("Login to #{hostname}") - # |> render("login.text", login_url: login_url, hostname: hostname) + |> render("login.text", login_url: login_url, hostname: hostname) |> render("login.html", login_url: login_url, hostname: hostname) end