This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: email: preamble must be \n terminated
Type: Stage:
Components: Library (Lib) Versions: Python 2.2
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: barry Nosy List: ajung, barry
Priority: normal Keywords:

Created on 2003-02-07 19:06 by ajung, last changed 2022-04-10 16:06 by admin. This issue is now closed.

Messages (2)
msg14503 - (view) Author: Andreas Jung (ajung) Date: 2003-02-07 19:06
when setting the preamble attribute, one must ensure
that the attribute is terminated by "\n". Otherwise 
the boundary 
string of the first attachment is output directly
behind the
preample and all email programs ignore the first
attachment.

Solution: add a trailing "\n" to the preample
msg14504 - (view) Author: Barry A. Warsaw (barry) * (Python committer) Date: 2003-03-03 16:41
Logged In: YES 
user_id=12800

Fixed in email 2.5
History
Date User Action Args
2022-04-10 16:06:37adminsetgithub: 37934
2003-02-07 19:06:12ajungcreate