pem.cqmail.editMailname

This method is supported by Operations starting from version 2.6.4

This method modifies the password of a Mailname.

Additionally, this method changes the password of the Service User, which belongs to the Mailname.

The method has the following input parameters:

Name

Type

Short Description

subscription_id

int

ID of the Subscription.

[domain_name]

string

Name of the Domain to edit the Mailname for. There are the following scenarios:

  • Edit the "All-Domains" Mailname. In this scenario the domain_name parameter should be omitted.
  • Edit the Mailname for certain Domain. In this scenario the domain_name parameter should be specified.

name

string

Local part (e-mail address before the @ sign).

new_password

string

New password of the Mailname.

new_password_is_crypted

boolean

Whether the password is passed in the encrypted form (BSD MD5). There are the following possible values:

  • 0 – password is passed in the plain text form.
  • 1 – password is passed in the encrypted form.

The method has no output parameters.

Note: Starting from Operations 2.6.4 this method can also be called under Reseller permissions.