Re: [web2py] Re: r=request problem.

2010-04-26 Thread Jonathan Lundell
On Apr 26, 2010, at 9:41 AM, annet wrote: > Now I understand the problem. When I rewrite the _href: > > {{=A('View it in your browser', _href="http://127.0.0.1:8000"; + > URL(r=request,c='clublocatormail',f='browser_version',args=[item.bedrijfcontactpersoon.bedrijf_id,item.contactpersoon.id]), >

[web2py] Re: r=request problem.

2010-04-26 Thread annet
Now I understand the problem. When I rewrite the _href: {{=A('View it in your browser', _href="http://127.0.0.1:8000"; + URL(r=request,c='clublocatormail',f='browser_version',args=[item.bedrijfcontactpersoon.bedrijf_id,item.contactpersoon.id]), _target="_blank")}} ... the problem is solved. I gu

[web2py] Re: r=request problem.

2010-04-26 Thread mdipierro
Yes. and the way it is rendered is correct for a web page because the browser knows the hostname already (since you typed it in to request the page). The recipient of the email does not. On Apr 26, 10:46 am, annet wrote: > Massimo, > > Isn't the view being rendered by web2py before it's send to t

[web2py] Re: r=request problem.

2010-04-26 Thread annet
Massimo, Isn't the view being rendered by web2py before it's send to the mail server? Regards, Annet On Apr 26, 4:27 pm, mdipierro wrote: > http://www.fitwise.nl/ > mock_crm{{=URL(r=request,c='static',f='crm/media/header.jpg')}}" > alt="Header" width="600" height="192" /> > > You know the ho

[web2py] Re: r=request problem.

2010-04-26 Thread mdipierro
http://www.fitwise.nl/ mock_crm{{=URL(r=request,c='static',f='crm/media/header.jpg')}}" alt="Header" width="600" height="192" /> You know the hostname, the email program does not. On Apr 26, 9:21 am, annet wrote: > In an html e-mail view I have the following links: > > {{=A('View it in your brow