diff --git a/src/app.rs b/src/app.rs
index 72e9b08..6efb1e0 100644
--- a/src/app.rs
+++ b/src/app.rs
@@ -22,12 +22,12 @@ pub fn shell(options: LeptosOptions) -> impl IntoView {
-
+
impl IntoView {
impl IntoView {
@@ -75,7 +75,7 @@ pub fn shell(options: LeptosOptions) -> impl IntoView {
name="twitter:image"
content="https://static.rust-dd.com/rust-dd_custom_bg.png"
/>
-
+
diff --git a/src/pages/home.rs b/src/pages/home.rs
index 9bd4537..76328c4 100644
--- a/src/pages/home.rs
+++ b/src/pages/home.rs
@@ -18,7 +18,7 @@ pub fn Component() -> impl IntoView {
);
view! {
-
+
Result<(), ServerFnError> {
.build::();
let email = Message::builder()
- .from(data.email.parse()?)
+ .from(env::var("SMTP_USER")?.parse()?)
.to(env::var("SMTP_USER")?.parse()?)
- .subject(data.subject)
+ .subject(format!("{} - {}", data.email, data.subject))
.header(ContentType::TEXT_HTML)
.body(data.message)
.expect("failed to build email");
diff --git a/src/ssr/server_utils.rs b/src/ssr/server_utils.rs
index 0c04d91..7ddd8c0 100644
--- a/src/ssr/server_utils.rs
+++ b/src/ssr/server_utils.rs
@@ -91,7 +91,7 @@ pub async fn generate_rss(db: Surreal) -> leptos::error::Result