Email integration

后端 未结 6 1029
终归单人心
终归单人心 2021-02-02 00:54

I was wondering if someone could help me out. In some web application, the app will send out emails, say when a new message has been posted. Then instead of signing into the a

6条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-02 01:41

    From your tags, I'll assume you're wanting to do this in Django.

    There's an app out there called jutda-helpdesk that does exactly what you're looking for using poplib, which means you just have to set up a POP3 compatible email address.

    Take a look at their get_email.py to see how they do it. You just run this script from cron.

提交回复
热议问题