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

Update SendingBlueEventListener to correctly send DoubleOpt-In emails #351

Merged
merged 2 commits into from
Feb 21, 2023

Conversation

Prokyonn
Copy link
Member

@Prokyonn Prokyonn commented Feb 21, 2023

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Fixed tickets fixes #issuenum
Related issues/PRs #issuenum
License MIT

What's in this PR?

Explain the contents of the PR.

Why?

#348 fixed the error, but introduced an unexpected behaviour. The user was updated directly and for already registered users, no DOI email was sent by sendinblue.

This PR adds the updateEnabled flag, therefore the DOI is still sent and already existing users are updated. Update: the updateEnabled flag was never send and Today SendingBlue fixed the issue.
Furthermore the PR uses the normalized attributes firstname and lastname for the additional data.

@alexander-schranz alexander-schranz changed the title Update SIBEventListener to correctly send DOI emails Update SendingBlueEventListener to correctly send DoubleOpt-In emails Feb 21, 2023
],
'includeListIds' => ['789'],
'templateId' => 456,
'redirectionUrl' => 'http://localhost?subscribe=true',
'updateEnable' => true,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
'updateEnable' => true,
'updateEnabled' => true,

@alexander-schranz alexander-schranz merged commit 6c424ab into sulu:2.5 Feb 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants