This method is supported by POA starting from version 2.5.
This method associates forwarding e-mail address with Mailname. There are the following use cases:
Note:
1. The Mailname password is required to create a Mailname, thus the password and password_crypted parameters are mandatory.
2. Use the pem.cqmail.editMailname method to change the password of an existing Mailname.
Note:
1. Password of an existing Mailname is used, thus the password and password_crypted parameters are optional. These parameters are ignored, if they are specified.
2. Use the pem.cqmail.editMailname method to change the password of an existing Mailname.
Additionally, if a new Mailname is created, POA creates a Service User with the following properties:
The E-mail Service is assigned to the Service User.
The method has the following input parameters:
Name |
Type |
Short Description |
|
int |
ID of Subscription. |
|
string |
Local part (e-mail address before the @ sign). |
|
string |
Name of the Domain to create a Mailname for. There are the following use cases:
If the
Method returns error, if one of requirements is not satisfied. |
|
string |
E-mail address to forward mail to. |
|
string |
Mailname password. |
|
boolean |
Whether the password is passed in the encrypted form (DES or BSD MD5). There are the following possible values:
|
The method has no output parameters.
Note: Starting from POA 2.6.4 this method can also be called under Reseller permissions.