'Email Verification link not working when clicked, but works when pasting the link url itself
I have a verification email that is sent out to users that sign up for a website I have developed. When the user signs up I send them an HTML email that has an anchor tag (hyperlink) <a href="https://app.example.com/verify-email/akdios-aksdjofs-aisodfjsa" >Activate Account</a>
.
I believe this is a URL/href problem because if you click on the link it only takes you to the site https://app.example.com
. Whereas if you paste the link in the browser then the proper verification page is loaded and the account is verified.
Email clients tested: outlook, (and various work email domains.).
What would be causing my link to not work when clicked, but works when I copy the link in the email, then paste it into the browser url?
Is there a way to ensure that clicking the link will work no matter what the email client (specifically outlook has been giving trouble).
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|