Skip to content

Fix for OAuth2 token selection#19

Open
tipue-dev wants to merge 1 commit intoreneeb:masterfrom
mxcOpen:Config-parameter-fix
Open

Fix for OAuth2 token selection#19
tipue-dev wants to merge 1 commit intoreneeb:masterfrom
mxcOpen:Config-parameter-fix

Conversation

@tipue-dev
Copy link

As mentioned in this issue #17, this addon selects the wrong token to send an email.

The problem is, that the SMTP-Object gets created once and the object manager return the same object for each connection.
The new configuration is discarded this way and the configuration used is always the one that should be used for the first mail.

This fix creates a new object for each connection.

For those, who need a fix right now, you can download a fixed opm here until this repository is updated

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

Successfully merging this pull request may close these issues.

1 participant