#23063: send email 1.6.5 OK, 1.7c1 malformed packet in wireshark -------------------------------------+------------------------------------- Reporter: contact@… | Owner: nobody Type: Bug | Status: new Component: Core (Mail) | Version: 1.7 Severity: Normal | Resolution: Keywords: send_mail, smtp, | Triage Stage: malformed, packet | Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Changes (by ainslied):
* status: closed => new * version: 1.7-rc-1 => 1.7 * resolution: invalid => Comment: Hello, First it is the first time I use this tool, so I'm really sorry if I don't use it properly. Secondly, English is not my natural language, so sorry for the errors. I reopen this thread because I have exactly the same problem. OVH is a professional provider massively used is europe and I can't use an other one as google to send my emails. So changing for gmail is not a well solution that correct the problem. I have not tested with the 1.6.5 version of django, but I can compare a mail sended with python and the other one sended with django. There is a problem with django. I send you here the content of the well formed (sended with python) and the not well formed IMF packet Well formed : {{{ 0000 f4 ca e5 4a a8 1f 9c 4e 36 b6 4f 24 08 00 45 00 ...J...N6.O$..E. 0010 00 fb 4a 28 40 00 80 06 f7 49 c0 a8 01 14 d5 ba ..J(@....I...... 0020 21 14 e9 1b 02 4b 7e 07 0a 74 7e 22 d6 7d 50 18 !....K~..t~".}P. 0030 f9 d1 33 ea 00 00 43 6f 6e 74 65 6e 74 2d 54 79 ..3...Content-Ty 0040 70 65 3a 20 74 65 78 74 2f 70 6c 61 69 6e 3b 20 pe: text/plain; 0050 63 68 61 72 73 65 74 3d 22 75 73 2d 61 73 63 69 charset="us-asci 0060 69 22 0d 0a 4d 49 4d 45 2d 56 65 72 73 69 6f 6e i"..MIME-Version 0070 3a 20 31 2e 30 0d 0a 43 6f 6e 74 65 6e 74 2d 54 : 1.0..Content-T 0080 72 61 6e 73 66 65 72 2d 45 6e 63 6f 64 69 6e 67 ransfer-Encoding 0090 3a 20 37 62 69 74 0d 0a 53 75 62 6a 65 63 74 3a : 7bit..Subject: 00a0 20 48 65 6c 6c 6f 0d 0a 46 72 6f 6d 3a 20 77 65 Hello..From: we 00b0 62 6d 61 73 74 65 72 40 xx xx xx xx xx xx xx xx bmaster@xxxxxxxx 00c0 xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xxxxxxxxxxxxxxxx 00d0 xx xx xx xx 0d 0a 54 6f 3a 20 xx xx xx xx xx xx xxxx..To: xxxxxx 00e0 xx xx xx xx xx xx xx xx 40 67 6d 61 69 6c 2e 63 xxxxxxxx@gmail.c 00f0 6f 6d 0d 0a 0d 0a 42 6f 64 79 20 67 6f 65 73 20 om....Body goes 0100 68 65 72 65 0d 0a 2e 0d 0a here..... }}} TEXT ONLY : {{{ JN6O$EJ(@I!K~ t~"}P3Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Hello From: webmaster@xxxxxxxxxxxxxxxxxxxxxxxxxxxx To: xxxxxxxxxxx...@gmail.com Body goes here . }}} Malformed : {{{ 0000 f4 ca e5 4a a8 1f 9c 4e 36 b6 4f 24 08 00 45 00 ...J...N6.O$..E. 0010 01 46 49 e9 40 00 80 06 f7 3d c0 a8 01 14 d5 ba .FI.@....=...... 0020 21 14 e9 14 02 4b 58 c0 97 78 2e c3 40 84 50 18 !....KX..x..@.P. 0030 f9 d1 4a a3 00 00 4d 49 4d 45 2d 56 65 72 73 69 ..J...MIME-Versi 0040 6f 6e 3a 20 31 2e 30 0a 43 6f 6e 74 65 6e 74 2d on: 1.0.Content- 0050 54 79 70 65 3a 20 74 65 78 74 2f 70 6c 61 69 6e Type: text/plain 0060 3b 20 63 68 61 72 73 65 74 3d 22 75 74 66 2d 38 ; charset="utf-8 0070 22 0a 43 6f 6e 74 65 6e 74 2d 54 72 61 6e 73 66 ".Content-Transf 0080 65 72 2d 45 6e 63 6f 64 69 6e 67 3a 20 37 62 69 er-Encoding: 7bi 0090 74 0a 53 75 62 6a 65 63 74 3a 20 48 65 6c 6c 6f t.Subject: Hello 00a0 0a 46 72 6f 6d 3a 20 77 65 62 6d 61 73 74 65 72 .From: webmaster 00b0 40 xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx @xxxxxxxxxxxxxxx 00c0 xx xx xx xx xx xx xx xx xx xx xx xx xx 0a 54 6f xxxxxxxxxxxxx.To 00d0 3a 20 xx xx xx xx xx xx xx xx xx xx xx xx xx xx : xxxxxxxxxxxxxx 00e0 40 67 6d 61 69 6c 2e 63 6f 6d 0a 44 61 74 65 3a @gmail.com.Date: 00f0 20 57 65 64 2c 20 30 38 20 4f 63 74 20 32 30 31 Wed, 08 Oct 201 0100 34 20 31 36 3a 33 30 3a 32 30 20 2d 30 30 30 30 4 16:30:20 -0000 0110 0a 4d 65 73 73 61 67 65 2d 49 44 3a 20 3c 32 30 .Message-ID: <20 0120 31 34 31 30 30 38 31 36 33 30 32 30 2e 38 34 32 141008163020.842 0130 34 2e 31 38 35 36 35 40 4a 41 58 32 33 30 3e 0a 4.18565@JAX230>. 0140 0a 42 6f 64 79 20 67 6f 65 73 20 68 65 72 65 0d .Body goes here. 0150 0a 2e 0d 0a .... }}} TEXT ONLY : {{{ JN6O$EFI@=!KXx.@PJMIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Subject: Hello From: webmaster@xxxxxxxxxxxxxxxxxxxxxxxxxxxx To: xxxxxxxxxxx...@gmail.com Date: Wed, 08 Oct 2014 16:30:20 -0000 Message-ID: <20141008163020.8424.18565@JAX230> Body goes here . }}} Thanks !! -- Ticket URL: <https://code.djangoproject.com/ticket/23063#comment:7> 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 django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/077.eb428e0fb8097627c70eac2f05095f48%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.