Gossamer Forum
Home : Products : DBMan : Customization :

email problem

Quote Reply
email problem
In the email sent to a new registered user I want to add target="parent" to the link to the logon page as it is within a frameset and want the logon page to return in a frame.
I tried adding it to
Code:
print MAIL "$db_script_url?db=$db_setup\n";
in the secure_password_lookup mod of db.cgi but failed badly! Any suggestions?
Quote Reply
Re: email problem In reply to
I don't think you can do that. Doesn't the

target="parent"

thing have to be within an

<a href="http://....>

sort of link? All you're sending in the email is a URL, not a link.

I suppose you could try sending a full

<a href="http://....>

link in the email, but I'm not sure it would show up correctly for all people.

If you wanted to give it a try, you could use

Code:
print MAIL qq|<a href="$db_script_url?db=$db_setup" target="parent">Login Page</a>\n|;

AOL users will see it as a link in their email and those who use MSOutlook. (Probably some others.) People like me who prefer the simplicity of Pine will just see the html code.


------------------
JPD






Quote Reply
Re: email problem In reply to
Yeah your right, I guess I will have to send people to the home page to log in.
Thanks