reflect docs and sample to new structure

This commit is contained in:
Clément DOUIN
2024-10-26 11:39:09 +02:00
parent 3b271c3e67
commit 0101f7bf34
7 changed files with 247 additions and 162 deletions
+2 -2
View File
@@ -57,7 +57,7 @@ impl AccountConfigureCommand {
#[cfg(feature = "smtp")]
{
let reset = match toml_account_config.smtp_auth_config() {
Some(SmtpAuthConfig::Passwd(config)) => config.reset().await,
Some(SmtpAuthConfig::Password(config)) => config.reset().await,
#[cfg(feature = "oauth2")]
Some(SmtpAuthConfig::OAuth2(config)) => config.reset().await,
_ => Ok(()),
@@ -93,7 +93,7 @@ impl AccountConfigureCommand {
#[cfg(feature = "smtp")]
match toml_account_config.smtp_auth_config() {
Some(SmtpAuthConfig::Passwd(config)) => {
Some(SmtpAuthConfig::Password(config)) => {
config
.configure(|| Ok(prompt::password("SMTP password")?))
.await
+1
View File
@@ -161,6 +161,7 @@ impl ListEnvelopesCommand {
.with_list_envelopes(BackendFeatureSource::Context)
},
)
.without_sending_backend()
.build()
.await?;