Jump to content
  • 0
Majortom

Email with Href different to display text not sending

Question

Hi Guys,

So I have a customer registration setup that sends out an activation link to their registered email however I want the link in the email to say "Click Here to Activate Your Account" rather than display a link to the Caspio page.  So for example the code I have is as follows:

<a href="https://xxx.caspio.com/dp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxx?CID=[@field:CustomerRandomID]">https://xxx.caspio.com/dp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxx?CID=[@field:CustomerRandomID]</a>

With the above code it works and I receive the email however the link displays as "https://xxx.caspio.com/dp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxx?CID=[@field:CustomerRandomID]"

When I change the code to:

<a href="https://xxx.caspio.com/dp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxx?CID=[@field:CustomerRandomID]">Click Here to Activate Your Account</a>

In the Edit view for the email message it shows it all as expected and valid code however no emails are being sent out? (If I change it back everything works again).

Not sure if something needs to be done differently or its a bug?

Thanks

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

This is weird the URL text should not cause any issues. You might want to try to generate the code from scratch as if you copy paste there might be some hidden characters causing issues.

 

<a href="">Click Here to Activated Your Account </a>

Share this post


Link to post
Share on other sites
  • 0

Both syntax seems to be correct.

Try to hover over the link and see if it points to the correct URL.

If you are testing this on mobile,  just check the opened URL (applicable on desktops too).

 

Ultimately, the main purpose of the <a> tag is to serve as a link to another page.

If the link does not direct to the correct page, try to save a blank HTML first on that field before saving the new one. I have had encountered an intermittent issue in the past where the updated HTML syntax is not reflected on the actual DataPage.

 

Hope this helps.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...