Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » Django
  • » Emailing users with invalid local part email addresses [RSS Feed]

#1 June 15, 2010 17:45:03

Tom E.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Emailing users with invalid local part email addresses


Hi all

I have a bunch of users from one of our subscribers who all have
invalid local parts to their email addresses.

Eg:

åsak.østerga...@example.com
jan-åke.hammarstr...@example.com

Django assumes that all the addresses are valid, and so coerces them
to strings, which of course then blows up when self.to is a list of
non-ascii unicode addresses (and it is entirely reasonable for it to
complain, those email addresses are complete nonsense).

Is anyone aware of any sort of workaround for this sort of situation?

Cheers

Tom

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#2 June 16, 2010 12:32:08

Dennis K.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Emailing users with invalid local part email addresses


On di, 2010-06-15 at 17:44 +0100, Tom Evans wrote:

> I have a bunch of users from one of our subscribers who all have
> invalid local parts to their email addresses.
>
> Eg:
>
> åsak.østerga...@example.com
> jan-åke.hammarstr...@example.com
>
> Django assumes that all the addresses are valid, and so coerces them
> to strings, which of course then blows up when self.to is a list of
> non-ascii unicode addresses (and it is entirely reasonable for it to
> complain, those email addresses are complete nonsense).
>
> Is anyone aware of any sort of workaround for this sort of situation?

Tell your subscriber to send valid addresses?
--
Dennis K.

They've gone to plaid!

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

  • Root
  • » Django
  • » Emailing users with invalid local part email addresses [RSS Feed]

Board footer

Moderator control

Enjoy the 15th of December
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support