El viernes, 6 de julio de 2012 12:59:23 UTC+2, Melvyn Sopacua escribió:
On 6-7-2012 11:36, Javi Romero wrote:
> Does this sound like I should open a new ticket on the bugtracker or does
> this work right for anyone else?
It definitely works for me, when I do some testing with the EmailMessage
object. You should reduce your testing to just sending a simple message
with the EmailMessage class, like:
from django.core.mail import EmailMessage
msg = EmailMessage(
subject='test',
to=['m...@example.org'],
bcc=['nowhere@example.org'],
body='test'
)
msg.send()
If that fails as well, I guess a ticket is in order, but like I said
"works for me" (in version 1.4).
If that doesn't fail, then make sure cco is filled.
--
Melvyn Sopacua
Well I just tested this again on a clean project, with only that code and a HttpResponse as return value on a single view, on both Django 1.3 and 1.4, on my usual development machine (Archlinux) and on a fresh VirtualBox install of Kubuntu 12.04
The only thing that I can think of that all the setups also have in common is python2.7 and the use of virtualenv, but even if I install django as a system package, I get the same output:
1.4
$ python2 manage.py runserver
Validating models...
0 errors found
Django version 1.4, using settings 'bcc.settings'
Quit the server with CONTROL-C.
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: test
From: webmaster@localhost
Date: Fri, 06 Jul 2012 12:01:03 -0000
Message-ID: <20120706120103.4768.10823@k-VirtualBox>
test
-------------------------------------------------------------------------------
[06/Jul/2012 07:01:03] "GET / HTTP/1.1" 200 10
1.3
$ python2 manage.py runserver
Validating models...
0 errors found
Django version 1.3.1, using settings 'bcc13.settings'
Quit the server with CONTROL-C.
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Subject: test
From: webmaster@localhost
Date: Fri, 06 Jul 2012 12:12:08 -0000
Message-ID: <20120706121208.5531.28602@k-VirtualBox>
test
-------------------------------------------------------------------------------
[06/Jul/2012 07:12:08] "GET / HTTP/1.1" 200 10
Thank you very much for your cooperation, I'll open a bug and try to help finding out whats wrong :-).