You're out of my depth here, honestly!   I don't know that much about
email at all, and I'm a native ascii speaker.  You're welcome to fork
off my branch and repair it!

G.

On Mar 4, 12:00 pm, andrei <[email protected]> wrote:
> I also noticed that web.utils.sendmail doesn't take utf8 subject,
> which is bad. To send utf8 subject i do something like this:
>
> subject = "=?utf-8?B?"+ base64.b64encode(web.safestr(subj)) + "=?="
>
> is it right or can be done differently?
>
> On Mar 4, 7:32 pm, Gregg Lind <[email protected]> wrote:
>
> > @kevin
>
> >http://github.com/gregglind/webpy, which is a fork of the main
> > tree.   It's in utils.py
>
> > GL
>
> > On Mar 4, 9:55 am, kevin <[email protected]> wrote:
>
> > > how can i try your code?
> > > thanks
>
> > > On Thu, Mar 4, 2010 at 5:46 AM, Gregg Lind <[email protected]> wrote:
> > > > It works just fine with image data, if you're talking about my code.
> > > > Do you have a specific counterexample?
>
> > > > On Mar 3, 10:25 pm, webcb <[email protected]> wrote:
> > > > > Hm, that looks doable for character data, but I want to attach an
> > > > > image. Any recommendations there? I was hoping this would be quick.
>
> > > > > On Mar 3, 1:31 pm, Gregg Lind <[email protected]> wrote:
>
> > > > > > Pull request waiting at github, alter as you see fit.   I didn't 
> > > > > > quite
> > > > > > do the body thing at you described, but I could.  Wouldn't be hard 
> > > > > > to
> > > > > > change from my tuples (name, content_type) to your triples (name,
> > > > > > content_type and body).  I guess if you want fine control, you want
> > > > > > fine control!
>
> > > > > > On Mar 3, 3:15 pm, kevin <[email protected]> wrote:
>
> > > > > > > this would be an awesome addition!
>
> > > > > > > On Wed, Mar 3, 2010 at 5:42 AM, Gregg Lind <[email protected]>
> > > > wrote:
> > > > > > > > Yes, yes of course it will :)  Good  insight!  Give me an hour 
> > > > > > > > or
> > > > two
> > > > > > > > here.
>
> > > > > > > > On Mar 2, 8:35 pm, Anand Chitipothu <[email protected]> 
> > > > > > > > wrote:
> > > > > > > > > On Wed, Mar 3, 2010 at 7:56 AM, Gregg Lind 
> > > > > > > > > <[email protected]>
> > > > wrote:
> > > > > > > > > > Maybe I'll implement tomorrow... github checkout the best 
> > > > > > > > > > way?
>
> > > > > > > > > Yes.
>
> > > > > > > > > > Plan:  add an attachments kw to sendmail(), along with 
> > > > > > > > > > making
> > > > the
> > > > > > > > > > message MIMEmultipart.
>
> > > > > > > > > Sounds good. Will each attachment be a dict with name,
> > > > content_type and
> > > > > > > > body?
>
> > > > > > > > --
> > > > > > > > You received this message because you are subscribed to the 
> > > > > > > > Google
> > > > Groups
> > > > > > > > "web.py" group.
> > > > > > > > To post to this group, send email to [email protected].
> > > > > > > > To unsubscribe from this group, send email to
> > > > > > > > [email protected]<webpy%[email protected]><
> > > > webpy%[email protected]<webpy%[email protected]
> > > >  >
> > > > >.
> > > > > > > > For more options, visit this group at
> > > > > > > >http://groups.google.com/group/webpy?hl=en.
>
> > > > --
> > > > You received this message because you are subscribed to the Google 
> > > > Groups
> > > > "web.py" group.
> > > > To post to this group, send email to [email protected].
> > > > To unsubscribe from this group, send email to
> > > > [email protected] 
> > > > <webpy%[email protected]>.
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/webpy?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to