lots of stuff, don't truly remember
This commit is contained in:
@@ -152,9 +152,9 @@ func (s *Service) SendPasswordResetEmail(email, username, resetLink string) erro
|
||||
<style>
|
||||
body { font-family: Arial, sans-serif; line-height: 1.6; color: #333; }
|
||||
.container { max-width: 600px; margin: 0 auto; padding: 20px; }
|
||||
.header { background: linear-gradient(135deg, #1e4e9c 0%, #337cf2 100%); color: white; padding: 20px; border-radius: 8px; }
|
||||
.header { background: linear-gradient(135deg, #1e4e9c 0%%25, #337cf2 100%%25); color: white; padding: 20px; border-radius: 8px; }
|
||||
.content { padding: 20px; background: #f9f9f9; margin: 20px 0; border-radius: 8px; }
|
||||
.button { background: linear-gradient(135deg, #1e4e9c 0%, #337cf2 100%); color: white; padding: 12px 24px; text-decoration: none; border-radius: 6px; display: inline-block; margin: 20px 0; }
|
||||
.button { background: linear-gradient(135deg, #1e4e9c 0%%25, #337cf2 100%%25); color: white; padding: 12px 24px; text-decoration: none; border-radius: 6px; display: inline-block; margin: 20px 0; }
|
||||
.footer { text-align: center; color: #666; font-size: 12px; margin-top: 20px; }
|
||||
</style>
|
||||
</head>
|
||||
@@ -192,9 +192,9 @@ func (s *Service) SendWelcomeEmail(email, username string) error {
|
||||
<style>
|
||||
body { font-family: Arial, sans-serif; line-height: 1.6; color: #333; }
|
||||
.container { max-width: 600px; margin: 0 auto; padding: 20px; }
|
||||
.header { background: linear-gradient(135deg, #1e4e9c 0%, #337cf2 100%); color: white; padding: 20px; border-radius: 8px; }
|
||||
.header { background: linear-gradient(135deg, #1e4e9c 0%%25, #337cf2 100%%25); color: white; padding: 20px; border-radius: 8px; }
|
||||
.content { padding: 20px; background: #f9f9f9; margin: 20px 0; border-radius: 8px; }
|
||||
.button { background: linear-gradient(135deg, #1e4e9c 0%, #337cf2 100%); color: white; padding: 12px 24px; text-decoration: none; border-radius: 6px; display: inline-block; margin: 20px 0; }
|
||||
.button { background: linear-gradient(135deg, #1e4e9c 0%%25, #337cf2 100%%25); color: white; padding: 12px 24px; text-decoration: none; border-radius: 6px; display: inline-block; margin: 20px 0; }
|
||||
.footer { text-align: center; color: #666; font-size: 12px; margin-top: 20px; }
|
||||
</style>
|
||||
</head>
|
||||
@@ -230,4 +230,4 @@ func (s *Service) SendWelcomeEmail(email, username string) error {
|
||||
func (s *Service) SendNewsletterEmail(email, subject, htmlBody string) error {
|
||||
log.Printf("📬 Sending newsletter email to: %s", email)
|
||||
return s.sendEmail([]string{email}, subject, htmlBody)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user