This commit is contained in:
vanten-s 2024-08-28 15:25:46 +02:00
parent 7b35a3c08d
commit acbe222212
Signed by: vanten-s
GPG key ID: DE3060396884D3F2

View file

@ -62,7 +62,7 @@ async fn message_handler(message: String) -> Result<()> {
return Ok(()); return Ok(());
} }
let message = format!("New mail from {message_sender} with subject {}:\n{}", message_subject.trim(), message_body.trim()); let message = format!("New mail from {message_sender} with subject {}:\n```\n{}```", message_subject.trim(), message_body.trim());
send_message(&message).await?; send_message(&message).await?;
Ok(()) Ok(())