2

I try to include a verificaton link as plain text into an email which points on a GraphQL endpoint but browser/email client doesn't display it correctly.

It can't parse symbols like !,",{,} which I need for the link query and ultimately it becomes broken. Also, I've tried to include the link into href attribute of the a tag but the problem is, that it fails to parse double quotes also.

Link example:

https://blahblah.now.sh/graphql?query=query($email:String!,$token:String!){verifyEmailToken(email:$email,token:$token)}&variables={"email":"22yiba@clearmail.online","token": "221c4dfd976f3ac22f"}

Andrew Korin
  • 294
  • 3
  • 17