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 verification email using Mailgun #195

Merged
merged 2 commits into from
Mar 7, 2024

Conversation

aaditkamat
Copy link
Collaborator

Resolves #164.

Encountered a couple of issues implementing this, mostly due to the Mailgun docs.

Relevant issues:

  1. FormData is incompatible with current version of mailgun.js mailgun/mailgun.js#220
  2. This library throws a very weird error when attempting to send an email while using Node.js v18.0.0  mailgun/mailgun.js#269.

The FormData object used by the Mailgun constructor should be the FormData Web API and not the FormData object made available through the npm dependency. The import used within the Mailgun guide is thus unnecessary.

Currently, the emails sent using Mailgun ends up in the spam folder, so that is something we can maybe look into in the near future. The email addresses that we are sending to should be added to the Authorized Recipients and under the Mailgun free plan, we can also send emails to a maximum of five users per month.

Copy link
Collaborator

@AlexanderWangY AlexanderWangY left a comment

Choose a reason for hiding this comment

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

LGTM 🚀

@AlexanderWangY AlexanderWangY merged commit 3d49036 into ufosc:main Mar 7, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

Research and Implement Email Validation
2 participants