#9890: EmailField bug
-------------------+--------------------------------------------------------
 Reporter:  ozgur  |       Owner:  nobody    
   Status:  new    |   Milestone:            
Component:  Forms  |     Version:  1.0       
 Keywords:         |       Stage:  Unreviewed
Has_patch:  0      |  
-------------------+--------------------------------------------------------
 I have a form like this:

 {{{
 class InvitationForm(forms.Form):
     e_mail = forms.EmailField()

 }}}



 when I test this form;[[BR]]

 {{{
 In [10]: i = InvitationForm(data={"e_mail":"[email protected]"})
 In [11]: i.is_valid()
 Out[11]: True
 }}}



 However; when I tried to send an email to this email via postfix; I got
 that error:[[BR]]

 {{{
 ada:~# nc localhost smtp
 220 ada.adacor.com.tr ESMTP Postfix (Debian/GNU)
 MAIL FROM:[email protected]
 250 2.1.0 Ok
 RCPT TO: [email protected]
 501 5.1.3 Bad recipient address syntax
 }}}

 The problem is that although django.forms.EmailField accepts
 "[email protected]" as a valid email, however, postfix is giving me an
 error.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/9890>
Django <http://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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to