2010-12-01 5 views
0

my-domain.comからmyappid.appspot.comへの電子メール転送を設定しようとしています。電子メールアカウントにサインインして転送メッセージ用の電子メールを入力すると、コード付きの確認メッセージがそこに送信されたと表示されます。どのようにしてそのコードにアクセスできますか?GAEによる確認appspotmail.com forwarding

答えて

2

私はこれを作成し、自分のメールに確認メッセージを転送しました。そこから私はリンクをクリックしてクリックし、それは完全に機能しました!

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) 
関連する問題