#36752: SMTP backend crashes on invalid email addresses such as “to@”
-------------------------------------+-------------------------------------
Reporter: Kwadwo Owusu Ansah | Owner: (none)
Type: Bug | Status: closed
Component: Core (Mail) | Version: dev
Severity: Normal | Resolution: duplicate
Keywords: smtp invalid email | Triage Stage:
parser regression | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Mike Edmunds):
Replying to [comment:2 Jake Howard]:
> Is it definitely not possible for an SMTP server to not require the
hostname part of an address?
Django specifically supports localpart-only addresses like "webmaster"
which are intended to be delivered to a local mailbox. (Despite Python's
email package marking that form as a header defect.)
But Django doesn't allow invalid addresses like "webmaster@" or "to@" as
reported here.
--
Ticket URL: <https://code.djangoproject.com/ticket/36752#comment:4>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/0107019abd800ad1-c4a0a6ea-7a9c-472a-9a0d-880c2c1d96a0-000000%40eu-central-1.amazonses.com.