Page 1 of 1

[solved] {mailto} tag and email address containing (...)

Posted: Tue Sep 11, 2012 9:44 am
by martinpescador
{mailto} tag and email address containing multiple points

Hello together!

I have a question for which I have not found a solution yet: I want to use the {mailto} smarty tag, but my email addresses contain more than one "." after the @ (e.g. "info@info.pool.com"). Smarty seems not to be able to deal with this somehow... At least it is working fine with "common" email addresses, but not those mentioned above.
Do you have any inputs how I could solve that issue?

Thank you in advance!
Martin

I'm running CMSMS 1.11.1 by the way.

Re: {mailto} tag and email address containing multiple point

Posted: Tue Sep 11, 2012 12:05 pm
by rotezecke
this wont help you much but on my 1.11.1 install it works fine (php 5.2.6)

Code: Select all

{mailto address='info@info.pool.com'}
produces

Code: Select all

<a href="mailto:info@info.pool.com">info@info.pool.com</a>
let me know if you want me to remove the email from this post :)

Re: {mailto} tag and email address containing multiple point

Posted: Thu Sep 13, 2012 3:27 pm
by martinpescador
You are right - it works. I realized too late that I had an old prefilter plugin which produced the conflict...
No worries about the link - was just made up ;)