[TYPO3-english] Subject with spaces for email links

Stephen Bungert stephenbungert at yahoo.de
Thu Sep 27 11:45:19 CEST 2012


Hi, I read this some where after googleing, just use %20  I think instead of 
a space... that's fine for me... stuff like this drives my content editors 
nuts.

They want to know why they have to enter %20, and why they can't just add a 
space... for them this is something the CMS should handle.

--
Stephen.

"Richard Davies" <richard at ocular.co.nz> schrieb im Newsbeitrag 
news:mailman.4005.1348693872.547.typo3-english at lists.typo3.org...
> Hi Stephen
>
> Do you mean a mailto? The mailto tag is a URI, so needs to be properly
> encoded, just like URLs. This means you need to convert characters
> according to their encoding.
> For an easy hand guide, see 
> http://www.w3schools.com/tags/ref_urlencode.asp
>
> For php, use urlencode. It may be that Typo3 has some sort of urlencode
> wrapper/typoscript (depending on where you are putting the mailto) as 
> well,
> but am not aware of it.
>
> If you are about to send an email about anything web and not Typo3, first
> do a quick search. I used the first line from your email and the first
> result is this:
> http://www.gotfusion.com/tutsTD/emailBits.cfm
> which would have answered your question. It also means you get an instant
> result, instead of having to wait for someone to get around to replying
>
> Richard
>
>
> On 26 September 2012 19:06, Stephen Bungert <stephenbungert at yahoo.de> 
> wrote:
>
>> How can I add a subject (with spaces in it) to an email link?
>>
>> The subject seems to cropped at the first space?
>>
>> Is this possible?
>> --
>> Stephen
>>
>>
>> _______________________________________________
>> TYPO3-english mailing list
>> TYPO3-english at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>> 




More information about the TYPO3-english mailing list