IEEE-RVCE / GateKeeper

Hierarchical document review system
https://gate.ieee-rvce.org
BSD 3-Clause "New" or "Revised" License
5 stars 0 forks source link

Create an email system #20

Open SundarakrishnanN opened 4 months ago

SundarakrishnanN commented 4 months ago

create an email function that takes in parameters and sends any sort of automated email

chrisvrose commented 4 months ago

Please consider the springboot java mail documentation.

Additionally, for testing u will need to configure an email sending service. Gmail may work (u will need to create an app-specific password)

SundarakrishnanN commented 4 months ago

Please consider the springboot java mail documentation.

Additionally, for testing u will need to configure an email sending service. Gmail may work (u will need to create an app-specific password)

Sure will do the same

Prajwalprakash3722 commented 4 months ago

I was thinking more of like AWS SES instead of gmail

chrisvrose commented 4 months ago

For local testing, Gmail should suffice, but SES would work well too.

SundarakrishnanN commented 4 months ago

SES is free for one year after which we have to pay,so if we choose SES,weve to switch accounts every year

SundarakrishnanN commented 4 months ago

For local testing, Gmail should suffice, but SES would work well too.

yes,lets stick to gmail for now,anyways we can easily switch later on

Prajwalprakash3722 commented 4 months ago

For local testing, it's better to use Mailhog to avoid Gmail marking your emails as spam.

chrisvrose commented 4 months ago

Works as well.

(Although, word of warning: please don't send people billions of emails)

Gmail will mark ur mail address as spam

SundarakrishnanN commented 1 month ago

@ChiragJS Scenarios where u mail: Once someone creates a request,mail the set of people who have to take action. Mail requester saying Event Created Everytime someone approves,just mail event requester to let them know about it.. While mailing make sure "unsubscribe" is false.. Add some dynamic content.

When an account is created: Mail them with the password and strongly advice them to change password.. We will be adding option to edit password if uk current password. Create specific functions for these with parameters like requester name,event name ,etc.....Dont implement them, keep testing them indirectly for now