Re: Avoiding MIME_BASE64_TEXT SpamAssassin Test when sending Email From Django?

2009-11-24 Thread rmschne
Jerek,

Thanks ...  starting now.

--

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




Re: Avoiding MIME_BASE64_TEXT SpamAssassin Test when sending Email From Django?

2009-11-24 Thread Jarek Zgoda
Wiadomość napisana w dniu 2009-11-23, o godz. 17:43, przez rmschne:

> I'm using Django's email sending functions (http://
> docs.djangoproject.com/en/dev/topics/email/#topics-email) to send
> mail.
>
> I construct the simple HTML mail with a small bit of Python code which
> is based on data from a database accessed via Django and using a
> Django template to construct the html text.  I pass this text to
> Django's email functions, e.g.
>
> msg=EmailMessage(subject, html_content, from_email, [to])
> msg.content_subtype="html"
> msg.send
>
> The mail goes just fine.  In testing I'm sending mail to myself.  My
> own SpamAssassin filter is trapping the mail as "spam" !!
>  --
> --
> 1.7 MIME_HTML_ONLY BODY: Message only has text/html MIME parts
> 2.8 MIME_BASE64_TEXT   RAW: Message text disguised using base64
> encoding
>
> I'm trying want to NOT send in base64 encoding so as to not attract
> this SpamAssassin.  How when constructing the text for the mail in
> Python/Django to avoid this?
>
> I have nothing but text in the email.  The html is simple.  It has a
> style sheet in the header.  The header looks like this:
>
> 
>   
>   
>   The Scottish Oil Club
>   

Avoiding MIME_BASE64_TEXT SpamAssassin Test when sending Email From Django?

2009-11-23 Thread rmschne
I'm using Django's email sending functions (http://
docs.djangoproject.com/en/dev/topics/email/#topics-email) to send
mail.

I construct the simple HTML mail with a small bit of Python code which
is based on data from a database accessed via Django and using a
Django template to construct the html text.  I pass this text to
Django's email functions, e.g.

msg=EmailMessage(subject, html_content, from_email, [to])
msg.content_subtype="html"
msg.send

The mail goes just fine.  In testing I'm sending mail to myself.  My
own SpamAssassin filter is trapping the mail as "spam" !!
 --
--
1.7 MIME_HTML_ONLY BODY: Message only has text/html MIME parts
2.8 MIME_BASE64_TEXT   RAW: Message text disguised using base64
encoding

I'm trying want to NOT send in base64 encoding so as to not attract
this SpamAssassin.  How when constructing the text for the mail in
Python/Django to avoid this?

I have nothing but text in the email.  The html is simple.  It has a
style sheet in the header.  The header looks like this:


   
   
   The Scottish Oil Club