Hi,
I'm sorry for your trouble!
Is it correct, that you use this links in the result or receipt mail text?
Then this is a problem that comes directly from Visforms.
As you can add article links to the text using the editor button "article" this will add an internal link to the text, which would not work if you send it with the mail without further processing (adding the site url).
This is, why I have a function that "fixesLinksInMails". In this function I try to figure which links are internal and have to be processed and which are not. This is done with a regular expression.
Obviously this regular expression(s) is not perfect.
First I did not anticipate, that a link in the mail text could be an email link (that is why the email link is preprocessed).
Second the SEF Google Link has special characters which causes the regular expression to return false (=internal url)
I think I have to improve this regular expression.
To fix your problem please make the following changes to the Visforms core, which I will include in the next release as well.
Open the file
Code:
administrator\components\com_visforms\helpers\html\visforms.php
Find the function fixLinksinMail
Replace the following code line
Code:
$urlPattern = '/^(http|https|ftp)\:\/\/[a-z0-9\-\.]+\.[a-z]{2,3}(:[a-z0-9]*)?\/?([a-z0-9\-\._\?\,\'\/\\\+&%\$#\=~])*$/i';
with
Code:
$urlPattern = '/^(http|https|ftp|mailto)\:.*$/i';
Let me know, if this fixes the problem.
Regards,
Aicha