Jump to content
wattmhite

Custom link name separate from URL

Recommended Posts

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

Escape the quotation mark. You can do that with a \.

Like this: \"

 

Share this post


Link to post
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


×

Important Information

By using this site, you agree to our Terms of Use.