wattmhite Posted November 11, 2017 Posted November 11, 2017 I'm working on a script that sends an email to a customer with a custom link. Is there a way to create the name of the link (what the customer sees) as Name (for example) but have the address actually different IE the real address? The problem I',m having is my custom URL is very long and I would like to make it easy and simple for the customer and for them only to see a blue line with the title "Click here" Thoughts? Many thanks in advance
OlgerDiekstra Posted November 13, 2017 Posted November 13, 2017 You can if you use html email formatting. In that case you simply create an anchor tag: <a href="http://test.com/this/can/be/a/very/long/url">Short URL</a> Your customer will need to be able to display html emails though. Most email clients do.
wattmhite Posted November 14, 2017 Author Posted November 14, 2017 Thank you OlderDiekstra. But how would you implement the " (Quotation Marks) every time I write a script with those it thinks what follows is comments?
OlgerDiekstra Posted November 14, 2017 Posted November 14, 2017 Escape the quotation mark. You can do that with a \. Like this: \"
Recommended Posts
This topic is 2578 days old. Please don't post here. Open a new topic instead.
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