|
Posted by windandwaves on 11/13/05 11:34
Tim Roberts wrote:
> "windandwaves" <winandwaves@coldmail.com> wrote:
>
>> Andy Hassall wrote:
>>> On Fri, 11 Nov 2005 12:33:30 +1300, "windandwaves"
>>> <winandwaves@coldmail.com> wrote:
>>>
>>>> Is there anyway in avoiding the Spam Assassin tag:
>>>> MIME_BASE64_TEXT: Message text disguised using base64 encoding
>>>>
>>>> when sending email using the mail() function?
>>>
>>> Don't disguise your message text using base64 encoding would be the
>>> obvious answer? Are you saying you're getting false positives
>>> despite not base64-encoding?
>>
>> My messages are 64 encoded. If you dont do this (they are html),
>> then you get nonsense!
>
> That SENTENCE is nonsense. Most text/html sections are sent as
> quoted-printable, 8bit, or 7bit. Base64 encoding serves no purpose
> other than to increase the size by 25%.
Hmmm, it is getting difficult. Does anyone have a good send mail function,
which basically extends the mail() function so that you can does pass the
basic variables?
I had a look on the net, but no luck. Im my previous post you can see what
I use now. I also found the function below on the www.php.net website:
function quoted_printable_encode( $sString ) {
$sString = preg_replace( '/[^\x21-\x3C\x3E-\x7E\x09\x20]/e', 'sprintf(
"=%02x", ord ( "$0" ) ) ;', $sString );
preg_match_all( '/.{1,73}([^=]{0,3})?/', $sString, $aMatch );
return implode( '=' . CR, $aMatch[0] );
}
Navigation:
[Reply to this message]
|