Developing a typo3 extension which is generating output, presenting a link for an email address is no matter using the function getTypoLink(). But as soon, as you try to add a predefined subject with space characters to the mail and you have turned on the build in spam protection feature, this can lead into some trouble.
$mailInfosLink = $this->cObj->getMailTo( $emailAddress.’?subject=Email subject with multiple words’, $emailAddress);
$mailInfosText = $this->cObj->getMailTo($emailAddress,$emailAddress);
$email = ‘<a href=”‘.$mailInfosLink.'”>’.$mailInfosText.'<a>’;
If you have any query then feel free to contact me at Jainish Senjaliya