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 <mdipie...@cs.depaul.edu> wrote:
> <img src="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 <annet.verm...@gmail.com> wrote:
>
> > In an html e-mail view I have the following links:
>
> > {{=A('View it in your browser',
> > _href=URL(r=request,c='clublocatormail',f='browser_version',args=[item.bedrijfcontactpersoon.bedrijf_id,item.contactpersoon.id]),
> > _target="_blank")}}
>
> > <img src="{{=URL(r=request,c='static',f='crm/media/header.jpg')}}"
> > alt="Header" width="600" height="192" />
>
> > When I send the mail from 
> > within:https://admin.fitwise.nl/admin/default/design/mock_crm
> > the links in the e-mail read like:
>
> > <a target="_blank" href="http://mock_crm/clublocatormail/
> > browser_version/1/3">View it in your browser</a>
>
> > <img src="http://mock_crm/static/crm/media/header.jpg";>
>
> > Whereas they should read:
>
> > <a target="_blank" href="http://www.fitwise.nl/mock_crm/
> > clublocatormail/browser_version/1/3">View it in your browser</a>
>
> > <img src="http://www.fitwise.nl/mock_crm/static/crm/media/
> > header.jpg">
>
> > How do I solve this problem?
>
> > Kind regards,
>
> > Annet.
>
> > --
> > Subscription settings:http://groups.google.com/group/web2py/subscribe?hl=en

Reply via email to