useful icon and links
All checks were successful
Build and Deploy to Production / build (push) Successful in 45s
Build and Deploy to Production / deploy (push) Successful in 32s

This commit is contained in:
Sergei Poljanski 2026-05-05 00:57:11 +04:00
commit 7608cf15fc
Signed by: asxpi
GPG key ID: 4F8851660FA4121B
3 changed files with 47 additions and 2 deletions

View file

@ -43,7 +43,7 @@ module Mailer
def confirm_visitor(name:, email:, subject:, message:)
from = ENV.fetch('MAIL_FROM')
to = ENV.fetch('MAIL_TO')
subj = subject.to_s.strip.empty? ? 'your message' : subject.to_s.strip
subj = subject.to_s.strip.empty? ? '(blank)' : subject.to_s.strip
body = <<~BODY
Hi #{name},