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

Change API key on existing instance #10

Open
ghost opened this issue Jun 28, 2011 · 0 comments
Open

Change API key on existing instance #10

ghost opened this issue Jun 28, 2011 · 0 comments
Milestone

Comments

@ghost
Copy link

ghost commented Jun 28, 2011

I think, it would be useful to have an option to change the API key on an existing instance. We are using your class within a batch job and need to change "Servers" back and forth, depending on the message we are currently processing. For now, we have just added these few lines:

/**
* Set or change the Postmark API key
*
* @param string $apiKey Postmark API key
* @return Mail_Postmark
*/
public function &setApiKey($apiKey)
{
  $this->_apiKey = $apiKey;
  return $this;
}
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

0 participants