also the reply_to field is ignored

On Jun 30, 9:25 am, Richard <richar...@gmail.com> wrote:
> I did some tests with trunk Mail on GAE:
>
> mail.send(..., message=message)
> -> Mail.send failure:May not set empty value for 'html'
>
> mail.send(..., message=(None, message))
> -> Mail.send failure:May not set empty value for 'body'
>
> mail.send(..., message=(message, message))
> -> sends email as HTML
>
> Richard
>
> On May 20, 1:22 am, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
>
>
> > I made a change that should allow attachments to work on GAE. Can you
> > check it does not break the regularmailon GAE?
>
> > On May 19, 8:00 am, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > > moving to trunk! Thanks. ;-)
>
> > > On May 19, 7:53 am, PanosJee <panos...@gmail.com> wrote:
>
> > > > Just fixed it
> > > > tools.py 437
> > > > result =mail.send_mail(sender=self.settings.sender, to=to,
> > > >                                         subject=subject, body=text,
> > > >html=html)
>
> > > > On 19 Μάϊος, 15:43, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > > > > In gluon tools.py locate this code
>
> > > > >                 result =mail.send_mail(sender=self.settings.sender,
> > > > > to=to,
> > > > >                                         subject=subject, body=text)
>
> > > > > and replace it with
>
> > > > >                 result =mail.send_mail(sender=self.settings.sender,
> > > > > to=to,
> > > > >                                         subject=subject,html=text)
>
> > > > > Let me know if it solves the problem.
>
> > > > > On May 19, 6:54 am, PanosJee <panos...@gmail.com> wrote:
>
> > > > > > 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 ashtml(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