Forwarded message error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Enchanted webmail |
New
|
Undecided
|
Unassigned |
Bug Description
Forwarding a message causes a TypeError in the email.attach (or email.attach_file) call (provided by django itself[1]).
[1] http://
Traceback:
Environment:
Request Method: POST
Request URL: http://
Django Version: 1.1 pre-alpha SVN-9692
Python Version: 2.5.2
Installed Applications:
['django.
'django.
'django.
'django.
'enchanted.
Installed Middleware:
('django.
'django.
'django.
'django.
Traceback:
File "/var/lib/
86. response = callback(request, *callback_args, **callback_kwargs)
File "/var/lib/
67. return self.view_
File "/home/
211. return _sendmail(request, fwd_message)
File "/home/
296. email.send()
File "/var/lib/
275. return self.get_
File "/var/lib/
172. sent = self._send(message)
File "/var/lib/
186. email_message.
File "/usr/lib/
131. g.flatten(self, unixfrom=unixfrom)
File "/usr/lib/
84. self._write(msg)
File "/usr/lib/
109. self._dispatch(msg)
File "/usr/lib/
135. meth(msg)
File "/usr/lib/
201. g.flatten(part, unixfrom=False)
File "/usr/lib/
84. self._write(msg)
File "/usr/lib/
109. self._dispatch(msg)
File "/usr/lib/
135. meth(msg)
File "/usr/lib/
266. g.flatten(
File "/usr/lib/
185. raise TypeError('Expected list, got %s' % type(self.
Exception Type: TypeError at /sendmail/
Exception Value: Expected list, got <type 'str'>
description: | updated |