-
Notifications
You must be signed in to change notification settings - Fork 81
Open
Description
It's some feature to add forwarding when api creates email address, or update it later?
At the moment I edit some your class, and it looks like this:
/**
* ...
* @param string $address
*/
public function create($name, $siteId, $mailbox = false, $address, $password = '')
{
$packet = $this->_client->getPacket();
...
if (!empty($address)) {
$forwarding = $mailname->addChild('forwarding');
$forwarding->addChild('enabled', 'true');
$forwarding->addChild('address', $address);
}
...
$response = $this->_client->request($packet);
return new Struct\Info($response->mailname);
}But in time, my solution is weak. Maybe someone have any alternative option?
demetriusk and CNJOI
Metadata
Metadata
Assignees
Labels
No labels