pub async fn renew(
email: &str,
add_period: Option<Period>,
cur_expiry_date: DateTime<Utc>,
fee_agreement: Option<FeeAgreement>,
client_sender: &mut Sender<RequestMessage>
) -> Result<CommandResponse<RenewResponse>, Error>
Expand description
Renews an email forwarding
Arguments
email
- The email in questionadd_period
- How much time to add to the domaincur_expiry_date
- The current expiry dateclient_sender
- Reference to the tokio channel into the client