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

Send onboarding email during installation #15894

Merged
merged 6 commits into from May 17, 2020
Merged

Send onboarding email during installation #15894

merged 6 commits into from May 17, 2020

Conversation

tsteur
Copy link
Member

@tsteur tsteur commented May 1, 2020

Refs MAR-777

image

In my case it went into spam since the sender was basically foo@mbp.localdomain. Not sure how often sending the mail actually works when no proper SMTP is configured and how often it would go to spam? Any thoughts @mattab @Findus23

I'm catching any error that happens so hopefully this doesn't influence

@tsteur tsteur added the Needs Review PRs that need a code review label May 1, 2020
@tsteur tsteur added this to the 3.13.6 milestone May 1, 2020
@Findus23
Copy link
Member

Findus23 commented May 2, 2020

In theory it should never matter if you are using SMTP or PHP mail (and therefore sendmail), at least once we are using PHPMailer for both.

But maybe we should make the fact that the from address can not be detected automatically and this FAQ more prominently. Maybe even add a system check that looks up if the from mail ends with .localdomain or something like this.

https://matomo.org/faq/how-to/faq_109/

plugins/Installation/Onboarding.php Outdated Show resolved Hide resolved
plugins/Installation/Onboarding.php Outdated Show resolved Hide resolved
tsteur and others added 2 commits May 12, 2020 09:34
Co-authored-by: Stefan Giehl <stefan@matomo.org>
@tsteur
Copy link
Member Author

tsteur commented May 11, 2020

Made the changes @sgiehl

@tsteur
Copy link
Member Author

tsteur commented May 13, 2020

@sgiehl I suppose it is good to merge now?

@Findus23
Copy link
Member

I still think that the subject line looks like a random SPAM mail.

@tsteur
Copy link
Member Author

tsteur commented May 14, 2020

@Findus23 changed it 👍

Copy link
Member

@sgiehl sgiehl left a comment

Choose a reason for hiding this comment

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

Tested that locally again and it seems to work as expected

@tsteur tsteur merged commit f3dab82 into 3.x-dev May 17, 2020
@tsteur tsteur deleted the onboardingmail branch May 17, 2020 20:24
jonasgrilleres pushed a commit to 1024pix/pix-analytics that referenced this pull request Sep 22, 2020
jbuget pushed a commit to 1024pix/pix-analytics that referenced this pull request Sep 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Review PRs that need a code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants