mirror of
				https://github.com/nitnelave/lldap.git
				synced 2023-04-12 14:25:13 +00:00 
			
		
		
		
	Merge branch 'main' into authentik
This commit is contained in:
		
						commit
						314d4d0d33
					
				@ -21,7 +21,11 @@ async fn send_email(to: Mailbox, subject: &str, body: String, options: &MailOpti
 | 
				
			|||||||
        .reply_to(reply_to)
 | 
					        .reply_to(reply_to)
 | 
				
			||||||
        .to(to)
 | 
					        .to(to)
 | 
				
			||||||
        .subject(subject)
 | 
					        .subject(subject)
 | 
				
			||||||
        .body(body)?;
 | 
					        .singlepart(
 | 
				
			||||||
 | 
					            lettre::message::SinglePart::builder()
 | 
				
			||||||
 | 
					                .header(lettre::message::header::ContentType::TEXT_PLAIN)
 | 
				
			||||||
 | 
					                .body(body),
 | 
				
			||||||
 | 
					        )?;
 | 
				
			||||||
    let creds = Credentials::new(
 | 
					    let creds = Credentials::new(
 | 
				
			||||||
        options.user.clone(),
 | 
					        options.user.clone(),
 | 
				
			||||||
        options.password.unsecure().to_string(),
 | 
					        options.password.unsecure().to_string(),
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user