I have some emails which contain links like:
which is fine for the live site, but we develop and allow evaluation on
‘development.myserver.com’, so the link should get the new hostname
complete with subdomain. At present the mail templates have the links
Is it possible to make this work/is there a better way of doing links in
emails? - I tried to use hostname() but it’s not accessible to my
template, model or controller.