email event

Permalink
So,
I'm working on a community sort of website, based on concrete5.6.
Now, my clients wants a to automaticly login by clicking a link in their email.

This part is no problem.
But...

How do i create these links?
I wanted to plug in to a before_email_send event of some sorts, but there is none, or is there?

What i wanted to do is scan the email for links to the page, and alter them so they can automaticly log me in (creating a package for this functionality).
Is there a way to do this?
Or should i alter every email template?

Thanks.
Erik

companyou
 
magnolia4 replied on at Permalink Reply
magnolia4
I would advise against your customer . This is not a secure method.
EngineerofStuff replied on at Permalink Reply
EngineerofStuff
Anything for the customer.
companyou replied on at Permalink Reply
companyou
Yes,

It is insecure indeed.
But the security impact can be limited by using a time limit per unique id.
So if the mail would be send today, the login link wouldn't work anymore in a week.

But there is no way tot do this?
Then i gues i have to modify every email template.

Thanks,
Erik