Skip to main content
Inspiring
April 18, 2006
Question

CFmail and sending url's

  • April 18, 2006
  • 4 replies
  • 719 views
I am trying to email users a url that they need to click on to be verified.

If I send the email to a POP3 account, it seems to work just fine, but if I
send it to hotmail, etc, in the email, the link appears messed up after the
first '&' in the url. So, if I have
http://www.test.com/verify.cfm?username='test'&PID=12345

It only shows the link active up until the verify.cfm point, everything else
after that is just text, doesn't show up as part of the link if you click on
the url. I've tried setting the charset to ISO-8859-1 and UTF-8, neither
seems to make a dfference.

Any ideas?
Thanks.


    This topic has been closed for replies.

    4 replies

    BKBK
    Community Expert
    Community Expert
    April 18, 2006
    Then I think the reason for linking only half the URL has to be something Hotmail does or fails to do. Do you get the same problem when you follow Dempster's advice and send the mail in HTML format, wrapping the URL up in a link?

    Inspiring
    April 18, 2006
    Are you sending your email as text or HTML? Text emails don't always display URLs as links - this is usually a function of how the email client handles a string of text that looks like a URL. To make sure the URL is a link, send an HTML email and put the link in an A tag.
    Inspiring
    April 18, 2006
    There isn't a space...here's the line that is being emailed:

    http://www.serenityboise.com/verify.cfm?Act=#form.Email#&ID=#URLEncodedformat(form.User_UUID)#

    As far as the username, yea, I know, I put in the '' but they're not
    being sent or used in the url.

    Thanks,
    Steve

    BKBK wrote:
    > - Check for a space between .cfm and ?
    > - Use username=test in place of username='test'
    >
    >
    BKBK
    Community Expert
    Community Expert
    April 18, 2006
    - Check for a space between .cfm and ?
    - Use username=test in place of username='test'