Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mail forwarding #21

Open
xsme opened this issue Feb 17, 2017 · 0 comments
Open

Mail forwarding #21

xsme opened this issue Feb 17, 2017 · 0 comments

Comments

@xsme
Copy link

xsme commented Feb 17, 2017

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?

mrsombre pushed a commit that referenced this issue Aug 2, 2019
…0318 to master

* commit 'b4bec05aa53d7825a8d48da0d65bc25a7e1a024c':
  FEATURE PPP-30318 CategorySwitcher component
mrsombre pushed a commit that referenced this issue Jul 14, 2020
…es-not-show-patch-level-PPP-23411 to master

* commit '8e6e377405ee3c7523d1a499c46fa6feb1765f6f':
  BUGFIX PPP-23411 rubymng Does Not Show Patch Level for Ruby Versions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant