æºå¸¯Webã§ãããããã空ã¡ã¼ã«ãéä¿¡ãã¦ãã ãããã¨ããã®ãå®è£ ããã«ã¯ãã±ã£ã¨æãã¤ãéãã ã³ãã³ãã¸ã®ã¡ãã»ã¼ã¸é ä¿¡ å¥ã®SMTPãµã¼ãã¸ãã©ã³ã¹ãã¼ãã¨ããæ¹æ³ããã£ã¦ããã©ã³ã¹ãã¼ãã使ã£ãæ¹æ³ã試ãã¦ã¿ããã¦ã次ã®ãããªã³ã¼ããæ¸ãã¦ã¿ãã import asyncore import smtpd from email import message_from_string class MySMTPServer(smtpd.SMTPServer): def process_message(self, peer, mailfrom, rcpttos, data): print '---------- MESSAGE FOLLOWS ----------' msg = message_from_string(data) print 'From:', mailfrom print m
{{#tags}}- {{label}}
{{/tags}}