cron.py 文件源码

python
阅读 24 收藏 0 点赞 0 评论 0

项目:tingsmen 作者: pasqu4le 项目源码 文件源码
def send_invite_message(self, email, sender):
        msg = Message('Invitation to Tingsmen', recipients=[email])
        msg.body = sender + ' invited you to join Tingsmen\n\nTingsmen is a social network where you can propose any ' \
                            'change to the platform and, supposing the community is ok with it, it will be developed' \
                            '\n\nWanna know more? visit: https://tingsmen.herokuapp.com'
        options = {
            'sender': sender
        }
        msg.html = render_template('email/invite.html', **options)
        self.messages.append(msg)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号