[TYPO3-core] Fix bugtracker issue 2958: t3lib_htmlmail::getMimeType isn't working with name based virtual hosts

Franz Holzinger franz at fholzinger.com
Thu Mar 23 07:57:24 CET 2006


Hello Stanislas,

use this from some lines above:

>             // Default line break for Unix systems.
>         $this->linebreak = chr(10);
>             // Line break for Windows. This is needed because PHP on
> Windows systems send mails via SMTP instead of using sendmail, and
> thus the linebreak needs to be \r\n.
>         if (TYPO3_OS=='WIN')    {
>             $this->linebreak = chr(13).chr(10);
>         }



- Franz



>This is a CVS patch request.
>
>Type: Bugfix
>
>Description: t3lib_htmlmail::getMimeType is just opening the path, without naming the host.
>Add the host, as t3lib_div::getUrl already does.
>
>Branches: TYPO3_4-0
>
>Bugtracker reference: http://bugs.typo3.org/view.php?id=2958
>
>Regards,
>Stanislas
>  
>




More information about the TYPO3-team-core mailing list