Skip to content

Change API key on existing instance #10

@ghost

Description

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;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions