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

Backend: Welcome email for New Subscribers added #1121

Merged
merged 8 commits into from
Aug 9, 2024

Conversation

BHS-Harish
Copy link
Contributor

Issue that this pull request solves

Closes: #1120

Proposed changes

For every new user, welcome email added for new subscriber added.

Types of changes

Put an x in the boxes that apply

  • New feature (non-breaking change which adds functionality)

Screenshots

image

Other information

Any other information that is important to this pull request

@auto-assign auto-assign bot requested a review from Kajol-Kumari August 8, 2024 15:32
@BHS-Harish
Copy link
Contributor Author

Hey @Kajol-Kumari

Please review and merge it


module.exports = async (req, res, next) => {
const transporter = nodemailer.createTransport({
type: 'SMTP',
host: config.EMAIL_HOST,
Copy link
Member

Choose a reason for hiding this comment

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

can we add env.sample file and add these env variables with required values/placeholders(in case of credential)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think no need for env.sample file because, .env file already there with required values/placeholders.

Copy link
Member

Choose a reason for hiding this comment

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

Then add the new env variables that got introduced in this pr there itself. It will be easier for new developers

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There is no new varaible used here and they already exists in .env file

@Kajol-Kumari Kajol-Kumari added level2 Bug fixing, adding small features. gssoc GSSoC'24 Label labels Aug 9, 2024
@Kajol-Kumari Kajol-Kumari merged commit 8129776 into HITK-TECH-Community:main Aug 9, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gssoc GSSoC'24 Label level2 Bug fixing, adding small features.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Backend: Welcome email for New Subscribers
2 participants