diff --git a/src/mail.rs b/src/mail.rs index da6a6a0..eb4630f 100644 --- a/src/mail.rs +++ b/src/mail.rs @@ -18,19 +18,19 @@ pub fn send_notification( last: bool, ) -> Result<()> { let mut body = format!( - "This is your friendly neighbourhood pr-tracker.\n\ - PR #{pr_number}\ - (\"{pr_title}\") has reached:\n\ - {:#?}\n", + "This is your friendly neighbourhood pr-tracker.
+ PR #{pr_number}\ + (\"{pr_title}\") has reached:
+ {:#?}
", branches ); if last { - body += "This is the last update you will get for this pr.\n\ - Thx for using this service\n\ + body += "This is the last update you will get for this pr.
\ + Thx for using this service
\ Goodbye"; } else { body += &format!( - "Unsubscribe from this PR\n", + "Unsubscribe from this PR
", &CONFIG.url, encode(recipient) );