Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 Email Notification for Achievements #2214
Send Email Notification for Achievements #2214
Changes from 4 commits
a9ff08f
9c29d9c
ea05e95
6974fa3
170eac5
52140e3
6499e40
e721fde
381bf3f
332cba7
e2317ca
3aff69a
1a42cfb
5ba4b9a
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think that either of
$mail{smtpSender}
or$mail{set_return_path}
are really the right things to use for thefrom
field of this email. In fact the$mail{smtpSender}
is specifically documented insite.conf
as NOT being thefrom
address for emails and is typically the email address of a system administrator. The$mail{set_return_path}
is supposed to only be a return path which is typically anoreply
address, and some email servers might reject sending of emails with such an address. The instructor of the course should really be the sender. The problem is in finding that as there may be multiple instructors and such. The instructor email page deals with this by allowing the user to choose the sender. That is not exactly an option in this case.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it make sense to have a configuration variable for the from address on these messages?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that is needed. This could use a course setting for this.