Giter VIP home page Giter VIP logo

Comments (10)

dzhuang avatar dzhuang commented on May 28, 2024

See http://stackoverflow.com/questions/20293986/how-do-i-send-email-from-a-users-email-address-with-django

It seems to be technically difficult to enable multiple tutors with different email address as sender on the website.

Maybe we can set a default email address to send notifications to users, and for some specific emails, e.g., enrollment decision, or feedback of exercise, add the tutors' email as the reply-to header so that students can communicate with tutor directly.

from relate.

inducer avatar inducer commented on May 28, 2024

For my courses, I made a policy decision that the students should not be aware who graded their work. But it would certainly be possible to include a 'cc me' box (or a corresponding course-wide setting). I'd be happy to take a patch.

from relate.

dzhuang avatar dzhuang commented on May 28, 2024

So do you mean you agree that course.from_email can not be set as a sender if it is not the same as the server_email in settings.py?

from relate.

inducer avatar inducer commented on May 28, 2024

No, I don't think I'm saying that--it should be possible to set it to anything you like.

from relate.

dzhuang avatar dzhuang commented on May 28, 2024

When I use different email addresses (course.from_email="[email protected]", settings.SERVER_EMAIL="[email protected]), I got an internal server error: SMTPSenderRefused(501, 'mail from address must be same as authorization user', u'[email protected]') when I send an enrollment decision email to students. However, If the two email address are the same, it works without problem.

from relate.

dzhuang avatar dzhuang commented on May 28, 2024

Maybe it's the problem of my mail service provider.

from relate.

inducer avatar inducer commented on May 28, 2024

I'd imagine so.

from relate.

dzhuang avatar dzhuang commented on May 28, 2024

Thanks.

from relate.

dzhuang avatar dzhuang commented on May 28, 2024

The issue was solved when I use gmail as the site email. Now I have to use email other than gmail, as gmail is 404 in some country where I set up my server. I realize that most email service here do not allow sender to have a different email than the site email. There should be an option in the settings so that . I'll try to make a patch.

from relate.

inducer avatar inducer commented on May 28, 2024

Sounds good, will be happy to take it.

from relate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.