Hmmm no solution works for me
We use the latese web2py version
I tries the solution of Alexander but wihout any success (i also tried
the solution of Thadeus but GAE just died without any log!)

On 19 Μάϊος, 01:02, mdipierro <mdipie...@cs.depaul.edu> wrote:
> This
>
> message=[None,messagehtml]
>
> whatever it does need some documentation.
>
> On May 18, 3:48 pm, Alexandre Andrade <alexandrema...@gmail.com>
> wrote:
>
>
>
> > I have sucess with:
>
> >        for person in db(db.cme.id==request.args(0)).select():
> >             context = dict(person=person)
> >             messagehtml = response.render('email.html', context)
> >             status = mail.send(to=[person.email],
> >                     subject='My Subject',
> >                     message=[None,messagehtml])
>
> > where 'email.html' is a view.
>
> > 2010/5/18 Jon Romero <darks...@gmail.com>
>
> > > It seems that I cannot send emails as html (they are displaying as
> > > text).
>
> > > mail = Mail()
> > > mail.settings = ...
> > > mail.send(to=user.email, subjest=subject, message=(message_text,
> > > message_html))
>
> > > Any clues?
>
> > --
> > Atenciosamente
>
> > --
> > =========================
> > Alexandre Andrade
> > Hipercenter.com

Reply via email to