Skip to main content
Known Participant
May 5, 2008
Answered

inserting link in mail created by cfmail tag

  • May 5, 2008
  • 1 reply
  • 650 views
I want to create a link inside of a message created and sent by cfmail. the message will be used to complete the user registration cycle. I would like the email to look something like
http://mysite/usermailregistrationpage?code=ADGBDGDFGAXAFADFDA. I do not want to create a hyperlink as in <a href=http://mysite/usermailregistrationpage?code=ADGBDGDFGAXAFADFDA>click here</a> because I would like to user to be able to copy/paste the string into the browser if they dont have html enabled in the email reader. any quick hints on how to do this inside of the <cfmail></cfmail> tags? Thanks in advance! dan
This topic has been closed for replies.
Correct answer Newsgroup_User
just put actual string
http://mysite/usermailregistrationpage?code=ADGBDGDFGAXAFADFDA
in the mail body, without surrounding it with <a> or anything.

if your cfmail type is plain (default) it will be shown as text, while
more recent email application may automatically show it as link
(Thunderbird does).

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/

1 reply

Newsgroup_UserCorrect answer
Inspiring
May 5, 2008
just put actual string
http://mysite/usermailregistrationpage?code=ADGBDGDFGAXAFADFDA
in the mail body, without surrounding it with <a> or anything.

if your cfmail type is plain (default) it will be shown as text, while
more recent email application may automatically show it as link
(Thunderbird does).

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/