Skip to content

smtplib send_message should add Date header if it is missing, per RFC5322 #73065

@HenningvonBargen

Description

@HenningvonBargen
BPO 28879
Nosy @bitdancer, @soltysh, @jenstroeger, @elafontaine
PRs
  • bpo-28879 : add date if missing in smtplib.send_message #2655
  • bpo-28879: Add Date header if missing in smtplib send_message #5176
  • Files
  • issue_28879.patch
  • issue_28879_V2.patch
  • issue_28879_V3.patch
  • issue_28879_V4.patch: Python3 complete changes
  • issue_28879_python2.patch
  • issue_28879_python2_overkill.patch
  • issue28879_v5.patch
  • Resent_heuristic.patch
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = None
    created_at = <Date 2016-12-05.15:48:15.178>
    labels = ['3.7', 'easy', 'type-bug', 'library']
    title = 'smtplib send_message should add Date header if it is missing, per RFC5322'
    updated_at = <Date 2018-09-08.23:03:27.435>
    user = 'https://bugs.python.org/HenningvonBargen'

    bugs.python.org fields:

    activity = <Date 2018-09-08.23:03:27.435>
    actor = '_savage'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2016-12-05.15:48:15.178>
    creator = 'Henning.von.Bargen'
    dependencies = []
    files = ['45929', '45958', '45959', '45969', '46001', '46002', '46459', '46460']
    hgrepos = []
    issue_num = 28879
    keywords = ['patch', 'easy']
    message_count = 32.0
    messages = ['282425', '282429', '282549', '282553', '282558', '283275', '283313', '283347', '283361', '283362', '283412', '283431', '283436', '283572', '283574', '283593', '283604', '283645', '283647', '283847', '283848', '283849', '285686', '285694', '285697', '286037', '286504', '286505', '288046', '297496', '297528', '324865']
    nosy_count = 5.0
    nosy_names = ['r.david.murray', 'maciej.szulik', 'Henning.von.Bargen', '_savage', 'Eric Lafontaine']
    pr_nums = ['2655', '5176']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue28879'
    versions = ['Python 3.6', 'Python 3.7']

    Linked PRs

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      easystdlibPython modules in the Lib dirtopic-emailtype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions