Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Mailto in portlet causing a redirect to homepage
I have a mailto link like below:
<a
href="mailto:info@mywebsite.org?Subject=Title">email
us</a>
And when I click on the link, it redirects me to the homepage with this url https://mywebsite.org/?subject=Title and not open my email client.
Found out the problem was with the extension of my email being the same as my website url (mywebsite.org), because when I do this:
<a href="mailto:info@mywebsiteTWO.org?Subject=Title">email us</a>
It works just fine. Any ideas on how to work around this? I'd prefer
not to have to change the email's extension.
Hey Nick,
did you ever find a solution for this? I am facing the same issue.
Regards,
Dominik
did you ever find a solution for this? I am facing the same issue.
Regards,
Dominik
For me it seems that this is a bug in Liferay. I filed a bug ticket: https://issues.liferay.com/browse/LPS-90343
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™