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