Frontend fixes
This commit is contained in:
@@ -81,15 +81,15 @@ pub async fn send_unsubscribe_email(
|
||||
base_url, unsubscribe_token
|
||||
);
|
||||
let html_content = format!(
|
||||
"You've requested to unsubscribe from my emails. To confirm, please click the link below:<br />\
|
||||
<a href=\"{}\">Confirm unsubscribe</a><br />\
|
||||
If you did not request this, you can safely ignore this email.",
|
||||
r#"You've requested to unsubscribe from the newsletter. To confirm, please click the link below:<br />
|
||||
<a href="{}">Confirm unsubscribe</a><br />
|
||||
If you did not request this, you can safely ignore this email."#,
|
||||
confirmation_link
|
||||
);
|
||||
let text_content = format!(
|
||||
"You've requested to unsubscribe from my emails. To confirm, please follow the link below:\
|
||||
{}\
|
||||
If you did not request this, you can safely ignore this email.",
|
||||
r#"You've requested to unsubscribe from the newsletter. To confirm, please follow the link below:
|
||||
{}
|
||||
If you did not request this, you can safely ignore this email."#,
|
||||
confirmation_link
|
||||
);
|
||||
email_client
|
||||
|
||||
Reference in New Issue
Block a user