I think I've tried this before, but it sends text message and lists html file as attachment.
I need to have html formatted message and some other file as attachment On Feb 20, 7:57 pm, Anand Chitipothu <anandol...@gmail.com> wrote: > 2012/2/20 andrei <andre...@gmail.com>: > > > Hello! I need an example how to send html email with attachment. > > > I can send text email with attachments (by setting attachments=[]). > > I can send html email without attachment (by setting text/html content- > > type in headers dict). > > > But it seems to me there is no way sending html email with attachment. > > Look at web.py source: > > https://github.com/webpy/webpy/blob/master/web/debugerror.py#L318 > > Anand -- You received this message because you are subscribed to the Google Groups "web.py" group. To post to this group, send email to webpy@googlegroups.com. To unsubscribe from this group, send email to webpy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/webpy?hl=en.