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

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
martinpescador
Forum Members
Forum Members
Posts: 16
Joined: Wed Jun 27, 2007 6:32 pm

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

Post 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.
Last edited by martinpescador on Thu Sep 13, 2012 4:35 pm, edited 1 time in total.
User avatar
rotezecke
Power Poster
Power Poster
Posts: 411
Joined: Fri Apr 18, 2008 9:34 pm
Location: Nimbin, Australia

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

Post 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 :)
martinpescador
Forum Members
Forum Members
Posts: 16
Joined: Wed Jun 27, 2007 6:32 pm

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

Post 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 ;)
Post Reply

Return to “CMSMS Core”