php mail awkward change to sent content
I would highly suggest using a library like swift mailer. However, your problem may be that a character in the link is escaped. The link may also contain hidden encodings in utf-8, strip it to ascii and paste it in whatever text editor you are using and try again.