academico
academico copied to clipboard
Add emailing features
- [ ] Allow to send a custom email to all students in a course
- [ ] Allow to send a custom email to "members"
- [ ] Allow to send a custom email to a specific student and/or their registered contacts
Hey, i am intersted on this issue can i work on it?
Hello @henok-tesfu and thank you for your interest in the project.
Yes, you're very welcome to work on this feature. I'll assign it to you, please let me know if you need anything!
Hello @thdebay I am very interested in this issue. May I work on it too?
Hello @PatrickMamsery I didn't have news from @henok-tesfu so I'll assign the issue to you if you want to work on this feature.
Is it clear where to start? Please let me know if you need guidance
Thanks @thdebay for the opportunity. I am currently working on my local environment setup so that I can run it successfully using Docker. I'll sure notify you in case of anything.
hey is this still open if not I would like to work on it. Did you have any idea how you'd like it done?
Hello @wyntonfranklin, I did not receive PRs from the other developers so I guess the issue is still open. I think a good way to start would be to implement an email feature allowing to write a message to an individual student. You can create a new page with a form to write the email, and the logic to send it to the email registered in the student profile.
Once we have that, it will be easier to implement more complex features such as grouped emailing (for a whole class).
What do you think?
Sure, that sounds good for a start. I'll get working on it.
Hi @thdebay. I created an email controller page and added the email sending logic. For some reason the redirect after sending the email is not working all the time. (not sure why yet) the branch is here.
What's next?

Hello @wyntonfranklin, thank you for your message. It looks great! Can you open a merge request so that I can make a few comments on your code?
The redirect should work, but I'll test it on my local machine and let you know.
I think the next steps would be:
- to add an "Write an email" button in the student details view, that would redirect to the page you made.
- to add a similar button in the course "show" view (the list of students) to allow to send the email to the whole class.
What do you think?
hi @thdebay thanks. I will do the merge request. I can start looking at the other steps as well.
@thdebay, wondering about leadtypes in the students/show.blade.php shows as undefined. might that be an error or did I do something wrong. I usually uncomment the component to interact with this page.
This feature has been removed, I updated the students/show.blade.php
code to get rid of the legacy component. Please let me know if it fixes the error!
it works
Wondering which is the preferred button location for email to student button?
I think next to the "edit" button is better, but I'm also open to your suggestions. I think it integrates better into the UI. What do you think?
I agree. I left it next to the edit button. Initially I didn't quite understand how to place a button there so placing at the top was simplest.
Fixed in #312