Worked - like - charm.
:)
On Monday, October 7, 2013 4:37:02 PM UTC+2, Massimo Di Pierro wrote:
>
> This is the problem:
>
>
>
> Notice you are extending mailing/template.html and you may have more
> similar problems there.
>
> This is subtle. auth.messages.reset_password is supposed to be
This is the problem:
Notice you are extending mailing/template.html and you may have more
similar problems there.
This is subtle. auth.messages.reset_password is supposed to be a string
with placeholders like %(key)s. Internally the placeholders are replaced
using
message = auth.mes
On Monday, 7 October 2013 09:04:07 UTC-5, lesssugar wrote:
>
> Here's the code of mailing/pass_reset.html:
>
> {{extend 'mailing/template.html'}}
>
>
>
>
>
>
>
> Your requested password reset
>
Here's the code of mailing/pass_reset.html:
{{extend 'mailing/template.html'}}
Your requested pasword reset
Click the link below to
Sorry. Now I understand better what you are trying to do. Your invalid
character must be in mailing/pass_reset.html. Can you show us that file?
On Monday, 7 October 2013 04:17:53 UTC-5, lesssugar wrote:
>
> Your problem does not come from the code you show us
>
>
> When I comment this piece of co
>
> Your problem does not come from the code you show us
When I comment this piece of code *(A)*:
auth.messages.reset_password = response.render(
'mailing/pass_reset.html',
dict(subject='Password reset',
link = 'http://'+request.env.http_host+URL('default', 'user',
args=['reset_
I cannot help you without looking at the entire code. Your problem does not
come from the code you show us.
The code you are showing is wrong because your link contains "%(key)s"
which is unresolved but this is not the cause of the (0x22) problem.
On Sunday, 6 October 2013 11:53:27 UTC-5, les
Massimo (or anyone willing to help),
all I'm trying to achieve is use my own email template to send a
password-reset message to user. How do I do this properly?
Currently, I have this
*db.py*
auth.messages.reset_password = response.render(
'mailing/pass_reset.html',
dict(subject='Passwo
What is this supposed to do?
{{=XML('%(key)s')}}
Are you sure you are not looking for:
Go to password reset
Is key a variable?
Anyway, I am not sure your problem comes from this code.
On Wednesday, 2 October 2013 08:14:17 UTC-5, lesssugar wrote:
>
> Sorry, Massimo, but I really don't get it.
Sorry, Massimo, but I really don't get it. Is the slash causing the
problem? I use '[controller]/[view.html]' to render other emails and it's
all ok.
I even tried to do it this way in the mailing view:
Go to password reset
- and nothing, still the same error. I would be grateful for another h
You probably have same strange character in 'mailing/pass_reset.html'
On Tuesday, 1 October 2013 13:26:46 UTC-5, lesssugar wrote:
>
> I'm trying to send a custom email template to user when they perform
> password reset:
>
> *db.py:*
>
> auth.messages.reset_password = response.render(
> 'mail
11 matches
Mail list logo