Movatterモバイル変換


[0]ホーム

URL:


Problem with smtplib: message vanishes

Gregor Linglglingl at aon.at
Fri Apr 20 19:15:44 EDT 2001


I've got the following problem:Using smtplib as discribed in the documentation and also in Lutz'Programming Python to send emails, I'm able to send mails withouterror messages.But when trying to open it in Netscape-Messenger, I can see,that I received it nut I get something likeBetreff: python-mehl2 Datum:  Sat Apr 21 00:11:43 2001    Von:lingl at aon.at     An:glingl at aon.at... which means: the message-text is missing completely.When looking at the 'source-code' of the message, I find:Message-ID: <md5:109854F5E892C61A892F988123CB0A00>Return-Path: <lingl at aon.at>Delivered-To:glingl at aon.atReceived: (qmail 3793630 invoked from network); 20 Apr 2001 22:11:45-0000Received: from n408p010.adsl.highway.telekom.at (HELO INTERNET-WS)([213.33.50.234]) (envelope-sender <lingl at aon.at>)          by qmail4.highway.telekom.at (qmail-ldap-1.03) with SMTP          for <glingl at aon.at>; 20 Apr 2001 22:11:45 -0000From:lingl at aon.atTo:glingl at aon.atDate: Sat Apr 21 00:11:43 2001Subject: python-mehl2Vielleicht geht's so!probieren wirs's ausGrüßeGregorX-Mozilla-Status: 0000X-Mozilla-Status2: 00000000X-UIDL: 987804705.4637304.SSP1NO49,S=520..... which contains the message-text, which nevertheless isnot displayed in the email-client-window.Perhaps the last three lines are the offending ones, becausecomparing the python-sent to normal emails, i find those lines beforethe message.Or something else is going wrong.How could I use the sendmail-method correctly?... asks a little bit desparatelyGregor Lingl


More information about the Python-listmailing list

[8]ページ先頭

©2009-2025 Movatter.jp