kblincoe / QualOpt_SE701

2 stars 15 forks source link

Authenticate users email for sending studies #91

Open will-molloy opened 6 years ago

will-molloy commented 6 years ago

Currently, studies are sent to participants from a dummy gmail account (see org.project36.qualopt.service.StudyService). AFAIK they should be sent from the user who created the study.

@softeng-701 I think this is similar to #37/#44 so medium sized issue.

kblincoe commented 6 years ago

This one will require some investigation. To send the email from the user who created the study, you would need their email server, username, password, etc. Which users might not be willing to share.

kblincoe commented 6 years ago

Per the fix in #114, it might be better to leave as one sender (but somehow have responses also sent to the person who owns the study?)

will-molloy commented 6 years ago

Ok, this issue could be then: Study invitations are being sent from a single, QualOpt email account but the participants have no indication which QualOpt user sent to them. When participants reply to these study invitations it should be forwarded to the user who created the study.

But I think the design can be better. Why delegate the QualOpt account for replying to study creators? Instead invitations could include a link to the study page which could have the users email so participants can contact them directly and this can come under #42.

I guess I'm just not sure how the emailing was suppose to work?