Re: [web2py] Re: sending html emails.... bug ...

2018-06-08 Thread António Ramos
Gmail in mobile works better. It does not show the attached photos at the bottom. Regards 2018-06-07 18:31 GMT+01:00 Leonel Câmara : > Nothing you can do about that Ramos. It depends on the email client. You > could use online images instead of sending them with the email but then you > will

[web2py] Re: sending html emails.... bug ...

2018-06-07 Thread Leonel Câmara
Nothing you can do about that Ramos. It depends on the email client. You could use online images instead of sending them with the email but then you will run into problems because some clients won't display external images without explicit permission. -- Resources: - http://web2py.com -

Re: [web2py] Re: sending html emails.... bug ...

2018-06-07 Thread António Ramos
Only one litle thing... the attachments also appear in the bottom of the email as "attachments... 2018-06-06 15:01 GMT+01:00 Leonel Câmara : > De nada :) > > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > -

[web2py] Re: sending html emails.... bug ...

2018-06-06 Thread Leonel Câmara
De nada :) -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users"

Re: [web2py] Re: sending html emails.... bug ...

2018-06-06 Thread António Ramos
It works with gmail now Leonel Obrigado :) 2018-06-06 12:20 GMT+01:00 Leonel Câmara : > The path is wrong or not absolute, use something like > mail.Attachment(os.path.join(request.folder, > 'static/images/pending.png')) > > -- > Resources: > - http://web2py.com > - http://web2py.com/book

[web2py] Re: sending html emails.... bug ...

2018-06-06 Thread Leonel Câmara
The path is wrong or not absolute, use something like mail.Attachment(os.path.join(request.folder, 'static/images/pending.png')) -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

Re: [web2py] Re: sending html emails.... bug ...

2018-06-06 Thread António Ramos
i cannot get "'fileit/static/images/pending.png' " working. I get [Errno 2] No such file or directory: 'fileit/static/images/pending.png'Versão web2py™ Version 2.14.6-stable+timestamp.2016.05.10.00.21.47 Python Python 2.7.5: /home/ramstein74/webapps/new2py/bin/uwsgi (prefix: /usr)Traceback 1. 2.

[web2py] Re: sending html emails.... bug ...

2018-06-04 Thread Leonel Câmara
3D is the hex for 61 which is the ascii table position for "=". So that's normal in quoted-printable where a character is encoded by = followed by the hex. Base64 images are simply not well supported by many email clients. You should use cid and put the images in attachments which works

Re: [web2py] Re: sending html emails.... bug ...

2018-06-04 Thread António Ramos
Hello Massimo , i´m using the code from your tutorials. Then i adapted to add an html template. I guess google as a thing with base64 images... 2018-06-01 20:58 GMT+01:00 Massimo Di Pierro : > Very strange. Can you show us the code to generate the email and the html > in the email? > > > On

[web2py] Re: sending html emails.... bug ...

2018-06-01 Thread Massimo Di Pierro
Very strange. Can you show us the code to generate the email and the html in the email? On Wednesday, 16 May 2018 11:14:55 UTC-5, Ramos wrote: > > Hello i´m sending html emails but some clients for example google have an > issue with images > > Google is showing this code for the original html

[web2py] Re: sending html emails.... bug ...

2018-05-16 Thread António Ramos
Just found out that 3D is inserted all over the html tags in another emails i get. So this should be normal. So my problems is with base 64 images... google does not display them correctly. Any tweek in mail.send ??? 2018-05-16 17:16 GMT+01:00 António Ramos : > In fact

[web2py] Re: sending html emails.... bug ...

2018-05-16 Thread António Ramos
In fact its not an issue with images , any help? regards 2018-05-16 17:14 GMT+01:00 António Ramos : > Hello i´m sending html emails but some clients for example google have an > issue with images > > Google is showing this code for the original html email... > >

[web2py] Re: Sending html emails [bug?]

2010-06-29 Thread Richard
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

[web2py] Re: Sending html emails [bug?]

2010-06-29 Thread Richard
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

[web2py] Re: Sending html emails [bug?]

2010-05-19 Thread PanosJee
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]

[web2py] Re: Sending html emails [bug?]

2010-05-19 Thread mdipierro
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,

[web2py] Re: Sending html emails [bug?]

2010-05-19 Thread PanosJee
i was about to post that! it s a gae problem i ll try to do the same as off gae (sending the payload) 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,                    

[web2py] Re: Sending html emails [bug?]

2010-05-19 Thread PanosJee
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 =

[web2py] Re: Sending html emails [bug?]

2010-05-19 Thread mdipierro
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

[web2py] Re: Sending html emails [bug?]

2010-05-19 Thread mdipierro
I made a change that should allow attachments to work on GAE. Can you check it does not break the regular mail on 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

[web2py] Re: Sending html emails [bug?]

2010-05-18 Thread mdipierro
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)