Jeremy Posted May 24, 2022 Posted May 24, 2022 So we have some URLs in email templates: But when you see the actual email there are adding an extra character > to the link rendering it useless and giving 404 errors. Please can we have some help to work out what is happening?
SamS Posted May 24, 2022 Posted May 24, 2022 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: a little HTML (specifically how hyperlinks work: https://www.w3schools.com/html/html_links.asp ) that Hornbill Email Template variables are between a double-set of curly braces (in case of:) Hornbill Email Template variables CAN be part of a URL - ensure it looks correct in the href-attribute
Steve Giller Posted May 24, 2022 Posted May 24, 2022 @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.
Jeremy Posted May 25, 2022 Author Posted May 25, 2022 @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 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?
Steve Giller Posted May 25, 2022 Posted May 25, 2022 @JeremyWhere are you taking the "changed" email from? This looks like a reply (or possibly a forward) from a text-only email client, and whatever is adding the ">" to the start of the line is making the rest of the changes. This is not happening within Hornbill.
Jeremy Posted May 26, 2022 Author Posted May 26, 2022 @Steve Giller my apologies, yes I was looking at a forwarded email with out realising (I blame the lack of sleep ), I have tested with emails direct from the system and they are formatted correctly. This thread can be closed.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now