Jump to content

Email Templates - URLs not formatting correctly


Jeremy

Recommended Posts

So we have some URLs in email templates:

image.png.71fdb7e77614d35498b7967514db265b.png

But when you see the actual email there are adding an extra character > to the link rendering it useless and giving 404 errors.

image.png.b1b806b723fd26b57f4842317b66d389.png

Please can we have some help to work out what is happening?

Link to comment
Share on other sites

Hi @Jeremy,

The best way of working out what is happening is to select/click the "Source" button.

You then get a view of the HTML which makes up the email. From here it should be relatively simple to figure out what needs changing - provided you know:

  1. a little HTML (specifically how hyperlinks work: https://www.w3schools.com/html/html_links.asp )
  2. that Hornbill Email Template variables are between a double-set of curly braces (in case of:)
  3. Hornbill Email Template variables CAN be part of a URL - ensure it looks correct in the href-attribute
Link to comment
Share on other sites

@Jeremy If your email appears correct in the Source view, I would suggest speaking to your email admins.

You'll notice that the lines are wrapped at an arbitrary point, and each one begins with a ">" character, and that the whole URL is wrapped in "<" and ">" separators, this suggests that your email provider is converting the HTML email to plain text, and this would be completely outside of Hornbill's control.

Link to comment
Share on other sites

@Steve Giller @SamS this is a snippet of the code:

<li><span style="font-size:14px;"><span style="font-family:Calibri,Verdana,Geneva,sans-serif;">Gain you loyalty points/vouchers&nbsp;in University Coffee Shops! (when you <a href="https://port.ac.uk/loyalty">sign up</a> for campus food outlets loyalty)</span></span></li>
</ul>

I can't see anything that looks glaringly wrong, what do you guys think?

We use Google for our email system so not sure if Google would change things. Unless you think that this is related to an issue with our mail servers?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...