CB 2.0.15 - Bug with [CONFIRM] link insertion in HTML Email

7 years 4 months ago #287997 by c_schmitz
Hello,

When we are using the [CONFIRM] tag in an HTML email then the URL is surrounded by linebreaks, breaking the HTML flow. WIth some email clients it leads to the problem that the confirmation link is not clickable

Our HTML code set in confirmation email settings:

<a href="[CONFIRM]" class="btn-primary" style="line-height: 22px; margin: 0; box-sizing: border-box; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; color: #ffffff; font-size: 18px; padding: 20px; display: block; font-weight: bold; background: #358739; border-radius: 3px; text-decoration: none; text-align: center;">Click here to confirm email address</a>

Expected output

<a href="www.domain.org/index.php?confirmcode=reg119b0f338baeb114e717c243a0a37b06caf2e2&Itemid=126
" class="btn-primary" style="line-height: 22px; margin: 0; box-sizing: border-box; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; color: #ffffff; font-size: 18px; padding: 20px; display: block; font-weight: bold; background: #358739; border-radius: 3px; text-decoration: none; text-align: center;">Click here to confirm email address</a>


Actual output

<a href="
www.domain.org/index.php?confirmcode=reg119b0f338baeb114e717c243a0a37b06caf2e2&Itemid=126
" class="btn-primary" style="line-height: 22px; margin: 0; box-sizing: border-box; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; color: #ffffff; font-size: 18px; padding: 20px; display: block; font-weight: bold; background: #358739; border-radius: 3px; text-decoration: none; text-align: center;">Click here to confirm email address</a>

Note the line break before and after the URL but within the surrounding quotes.

Thank you

Carsten

Please Log in to join the conversation.

7 years 4 months ago #288017 by krileon
The [confirm] is supposed to include linebreaks. For raw url usage you need to use [confirmlink].


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

7 years 4 months ago #288129 by c_schmitz
Thank you. Could it be that this is nowhere documented?

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.230 seconds

Facebook Twitter LinkedIn