Developer forum

Forum » Templates » Newsletter v3 link with email tag

Newsletter v3 link with email tag


Reply
In a newsletter I would like to ad a link to the page where the user can edit his email and change newsleter subscription. I would like the user to be logged in automatically when clicking the edit link, but there is no tag for this?

I can user the tag <!--@DWUserEmail--> to write "<p>The mail is sent to <!--@DWUserEmail-->.</p>" Great, now we have the email address of the user.
 
Then I would like to create the edit link like this "<p><a href="http://www.domain.com/Default.aspx?ID=19&amp;Action=3&amp;PID=20&amp;NewsLetterV3LoginEmail=<!--@DWUserEmail-->&amp;NewsLetterV3LoginSubmit=Login">Edit your subscription</a></p>" but now DWUserEmail is not translated by Dynamicweb.

Any workaround?

Replies

 
Nicolai Høeg Pedersen
Reply
You write the link in the e-mail newsletter?
 
Reply
I would like to. Some people can't remember their own email address. :-)
 
Nicolai Høeg Pedersen
Reply
Yeah, i know :). Was just trying to find out where the tag did not get parsed...

I have no better ideas than this:
http://manual.net.dynamicweb.dk/Dynamicweb-On-line-Manual/Modules/Newsletter-v3/Module-setup/New-newsletter.aspx#20231

If the tag does not get parsed as it should - it sure sounds like a bug?
 
Reply
I'll have Support to take a look at this. Case 74479.
 
Reply
This is what I found out:
To have the tag DWUserEmail to work in a link, the domain of the link must match the domain used to log in to the backend.
Using DWUserEmail in an external link it not (yet) possible.
 
Reply
Hi,

We already developed this
http://domain.com/Default.aspx?ID=4&email=tester@dynamicweb.pt&password=tester

You need both e-mail and password to achieve this. I am also interested if you can do it differently.

Best Regards,
Nuno

 

You must be logged in to post in the forum