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 an email when a booking is created #7

Open
johnmckerrell opened this issue Feb 4, 2020 · 4 comments
Open

Send an email when a booking is created #7

johnmckerrell opened this issue Feb 4, 2020 · 4 comments
Assignees

Comments

@johnmckerrell
Copy link
Member

No description provided.

@johnmckerrell johnmckerrell added this to the Booking System v1 milestone Feb 4, 2020
@JackiePease
Copy link
Contributor

[nodemailer] (https://nodemailer.com) seems to be the most common suggestion and looks as if it does what we want. You can use the gmail API, or SMTP which would allow us to move to another email provider if needed.
I'll set up a test.

@amcewen
Copy link
Member

amcewen commented Feb 2, 2022

Tried out nodemailer and it seems to work well, and has integrations with Ethereal.email for development and testing.

We'll need different email server details for test/development and production, so I've spun out #58 to cover how we handle that.

Next steps will be to confirm that we can send email from a doesliverpool.com account and then work out how we'd set up templates for HTML and text bodies for the sent email.

@amcewen
Copy link
Member

amcewen commented Nov 1, 2022

Tested nodemailer with Google mail this evening (as that's what production would use) and it works fine.

@amcewen
Copy link
Member

amcewen commented Dec 6, 2022

Extended my test email javascript file to pull in mustache and generate the HTML part of the email body from a template. All seems to work okay, so I think the next step is to add it to the main code.

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

No branches or pull requests

3 participants