• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

CFMAIL problem with hotmail accounts

Guest
May 30, 2006 May 30, 2006

Copy link to clipboard

Copied

I have the following code that should email users who signup for a e-newsletter the opportunity to confirm their subscription:

<cfmail to="#form.Email#" from="admin@test.com" server="mail.test" subject="Serenity Confirmation" charset="iso-8859-1" mailerid="Serenity" port="25">
A request to have your email added to the Serenity database in order to receive our e-newsletter has been received. In order to confirm your addition, please click on the link below:

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

It seems to display correctly in Outlook, and Yahoo, but in MSN, the url either becomes a 'mailto', or some other link that doesn't work...... plus, in Hotmail/MSN, the system displays the link/http line with:

http://www.serenityboise.com/verify.cfm?Act=#form.Email# being underlined as a active url link and the rest as just black text.

Does anyone have a solution for this? Its very frustrating......

Thanks!
Steve
TOPICS
Advanced techniques

Views

686

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
May 30, 2006 May 30, 2006

Copy link to clipboard

Copied

> http://www.serenityboise.com/verify.cfm?Act=#form.Email# being underlined
>as a active url link and the rest as just black text.

Are you saying there are pound (#) signs in the e-mail that is being sent? That can't be right... the link won't work either, if it wasn't evaulated correctly before sending.
There can logically be only one pound (#) sign in an URL, so the MSN behaviour would seem logical, since your link has a malformed target URL.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
May 30, 2006 May 30, 2006

Copy link to clipboard

Copied

No, when the email is sent out, there are no #'s in the email itself, all the #'s have been replaced with the correct information, both pulled from a form.

But its not being displayed correctly in hotmail/msn, it stops displaying it as a link after the & in the url.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
May 30, 2006 May 30, 2006

Copy link to clipboard

Copied

If the first parameter in the query string is being passed correctly, a work-around might be to place form.Email and form.User_UUID into a pipe-delimited string and passing that as the one and only parameter in the query string. When the user clicks the link, the linked-to page can decode the email address and UUID. See concept code below.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
May 30, 2006 May 30, 2006

Copy link to clipboard

Copied

The reason this is happening is because of the ampersand.

Replace your &s with &

So your link becomes:

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
May 30, 2006 May 30, 2006

Copy link to clipboard

Copied

LATEST
That didn't seem to help. Now when the email is sent, it comes through as:

Act=boise_bound@hotmail.com&ID=874184BC%2D115B%2D652C%2DAA0DC0A36ABCFD36

quote:

Originally posted by: Kronin555
The reason this is happening is because of the ampersand.

Replace your &s with &



Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation