Tuesday, July 3, 2012

Re: how to save response 's render file to server or email using httpresponse

Oh, and HttpResponse is intended to send data back to a web browser. I
can't think of any reason you would use an HttpResponse when sending an
email.

_Nik

On 7/3/2012 11:20 AM, Min Hong Tan wrote:
> hi,
>
> I have a problem to send mail using Emailmessage,
> i wan to attach the file that render using httpresponse and send, but
> always show me "int" does not have method "lower".
> therefore, I think to save the file in the server and then attach
> using emailmessage. but how do i get the httpresonse to save
> in server /tmp/file ?
>
> Regards,
> MH
> --
> You received this message because you are subscribed to the Google
> Groups "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.


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

No comments:

Post a Comment