Skip to content

Commit

Permalink
borrow variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominion5254 committed Dec 18, 2024
1 parent 8a67c21 commit a78f2ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/startos/src/system.rs
Original file line number Diff line number Diff line change
Expand Up @@ -883,8 +883,8 @@ pub async fn test_system_smtp(ctx: RpcContext, smtp: SmtpValue) -> Result<(), Er
} = smtp;
if let Some(pass_val) = password {
let message = MessageBuilder::new()
.from((from, login))
.to(vec![(from, login)])
.from((&from, &login))
.to(vec![(from, &login)])
.subject("StartOS Test Email")
.text_body("Email credentials have been successfully setup on your StartOS Server");
SmtpClientBuilder::new(server, port)
Expand Down

0 comments on commit a78f2ea

Please sign in to comment.