Malcolm Tredinnick wrote: > On Fri, 2008-04-18 at 06:58 -0600, leonel wrote: > >> Malcolm Tredinnick wrote: >> >>> On Thu, 2008-04-17 at 11:52 -0600, leonel wrote: >>> >>> >>>> Hello >>>> >>>> I need to send mail and I'm using send_mail from django.core.mail >>>> All works but the mail gets base64 encoded >>>> >>>> Am I missing some configuration so the send_mail sends the mail not encoded >>>> >>>> >>> A few more details are needed here. >>> >>> (1) What version of Django are you using (the mail infrastructure has >>> changed a bit between 0.96 and trunk, from memory)? >>> >>> (2) What type of content are you sending? Email data must normally be >>> 7-bit ASCII, so if you're trying to send stuff outside that range, >>> encoding must occur. >>> >>> (3) Why is this even an issue? Mail clients know how to decode base64 >>> encoded email. Any program that consumes email must be able to do the >>> same, since it's part of the email standards. It shouldn't really make a >>> difference anywhere. So what's the use-case that requires this? >>> >>> >>> >> I've checked /var/spool/mail/useraccount and saw the encoded mail >> ( this is a test devel server ) >> >> Now reading your mail i've checked with email clients ( squirrelmail , >> thunderbird , outlook in linux and windows ) and you are 100% right >> the mails get decoded as they should. >> > > Point (3) was mostly a throwaway line, but it's true that what you're > seeing is simply a transport artifact and doesn't affect functionality. > > As James pointed out to me, since you're using Django 0.96, everything > will be encoded as base64, which does have the various problems > discussed in #3472. So point (1) is the main thing here. When you move > to Django 1.0 (when it comes out -- or if you ever use subversion > trunk), you'll see that a different encoding style (quoted printable) is > used whenever possible, which makes the mail look a fair bit more > readable in raw form. > > Regards, > Malcolm > > Great !
but no functionality change ? Leonel --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---