Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Mail forwarding #21

Copy link
Copy link
@xsme

Description

@xsme
Issue body actions

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.