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

chore(notifications): boilerplate for html engine #4037

Merged
merged 10 commits into from
Feb 21, 2024
Merged

Conversation

thevaibhav-dixit
Copy link
Contributor

No description provided.

@@ -41,6 +41,7 @@ impl SmtpClient {
.from(Mailbox::new(None, self.from_email.parse()?))
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Note: we can pass in a name here that should be displayed instead of the complete email.

Comment on lines 29 to 31
handlebars.register_template_file("identification", "./templates/identification.hbs")?;
handlebars.register_template_file("base", "./templates/layouts/base.hbs")?;
handlebars.register_template_file("styles", "./templates/partials/styles.hbs")?;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

better way to handle paths and register name ?

@thevaibhav-dixit thevaibhav-dixit marked this pull request as ready for review February 21, 2024 13:18
@bodymindarts bodymindarts merged commit 7a8e8bb into main Feb 21, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants