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 question
  • add_period - How much time to add to the domain
  • cur_expiry_date - The current expiry date
  • client_sender - Reference to the tokio channel into the client