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

Campaign uses default email transport instead of the one in Campaign settings #319

Closed
philipboomy opened this issue Aug 5, 2022 · 6 comments
Labels
bug Something isn't working

Comments

@philipboomy
Copy link

When Campaign sends out emails, either email confirm or test email, it uses my emails settings set in the CMS and not in Campaign email settings. So it uses my PostMark SMTP settings instead of Amazon SES.

Amazon SES 2.0.1
Campaign 2.1.3
Craft CMS 4.2.0.2

@philipboomy philipboomy added the bug Something isn't working label Aug 5, 2022
@bencroker
Copy link
Collaborator

I'm unable to replicate this, can you double check please and provide some steps for me to replicate the issue?

@philipboomy
Copy link
Author

Hmm I have re-tested both in production and locally just in case. I have resaved Campaign Email settings and still not working.

Here you can see that I am using Amazon SES https://share.getcloudapp.com/jkuXbgx9

It worked fine before upgrading to Craft V4.

I am not sure how I can help reproduce this. I have tested it in 2 ways after I saw a new "Confirm Subscription" email from a real signup in my PostMark logs.

First I tested it with a test email on a campaign and then after that I tested it with a signup to see the confirm subscription email. Both were send with the CMS email settings e.g. SMTP.

@bencroker
Copy link
Collaborator

bencroker commented Aug 5, 2022

Can you check the value of the sendVerificationEmailsViaCraft in your config/project/project.yaml file?

// Whether verification emails should be sent via the Craft mailer, instead of the Campaign mailer
//'sendVerificationEmailsViaCraft' => false,

@philipboomy
Copy link
Author

Hi

It is set to false.
sendVerificationEmailsViaCraft: false

@bencroker
Copy link
Collaborator

I'm out of ideas and can't replicate so I think you're going to have to troubleshoot this one yourself, unless you can send me CP access and I'll take a look.

@bencroker
Copy link
Collaborator

This indeed turned out to be a bug. Thanks for helping me get to the bottom of it, fixed in f1eeeae and released in 2.1.4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants