GAE 验证 appspotmail.com 转发

发布于 2024-10-05 14:52:43 字数 116 浏览 5 评论 0原文

我正在尝试设置从 my-domain.com 到 myappid.appspot.com 的电子邮件转发。当我登录电子邮件帐户并输入用于转发消息的电子邮件时,它说已向该处发送了一条带有代码的确认消息。我如何访问该代码?

I am trying to setup email forwarding from my-domain.com to myappid.appspot.com. When I sign in to the email account and enter the email for forwarding messages, it says that a confirmation message with a code had been sent there. How can I access that code?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

皓月长歌 2024-10-12 14:52:43

我创建了这个并将确认消息转发到我的电子邮件。从那里我得到了链接,点击它,它工作得非常完美!

class LogSenderHandler(InboundMailHandler):
    def receive(self, mail_message):
        logging.info("Received a message from: " + mail_message.sender)
        sender_address = "[email protected]"
        subject = "Processing message"
        user_address = '[email protected]
        body = mail_message.original
        mail.send_mail(sender_address, user_address, subject, body)

I created this and made it forward a confirmation message to my email. From there I got the link, clicked it and it worked just perfectly!

class LogSenderHandler(InboundMailHandler):
    def receive(self, mail_message):
        logging.info("Received a message from: " + mail_message.sender)
        sender_address = "[email protected]"
        subject = "Processing message"
        user_address = '[email protected]
        body = mail_message.original
        mail.send_mail(sender_address, user_address, subject, body)
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文