Mail -> Base64 as Content Enconding

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
DarkPlayer
Enthusiast
Enthusiast
Posts: 107
Joined: Thu May 06, 2010 11:36 pm

Mail -> Base64 as Content Enconding

Post by DarkPlayer »

Hello,

it would be great if the Content Encoding of the Email could be changed to Base64 or at least to overwrite the "Content-Transfer-Encoding: quoted-printable" which is send automactily by the Mail library.
With the current content enconding it is possible that not all parts of the Body is transmitted.

Code: Select all

SetMailBody(0,"Hello "+#CRLF$ + "." + #CRLF$ + " This will Not be send :-(")
Because of the #CRLF$ + "." + #CRLF$ the MTA thinks that all parts of the body is transmitted as specified by the SMTP protocol and the rest of the email will be sent to the Server as an (hopefully) unrecognized SMTP command. If Base64 would be used as content enconding this could not happen anymore.

DarkPlayer