How do I stop Gmail from stripping the values out of URLs?

后端 未结 4 1846
时光取名叫无心
时光取名叫无心 2021-02-19 20:43

I recently learned that webmail clients like Gmail will do alterations on HTML emails, for example adding target=\"_blank\" to tags.

4条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-19 21:33

    This may not be the perfect answer, but if your application allows for it, I have used URL shorteners a number of times.

    http://goo.gl/ is my preferred because the API is super easy to implement and google is very fast. I have a function in a class and I just run my url through it and send the return wherever I need it to be.

提交回复
热议问题