[Gambas-user] About SMTP component

Benoît Minisini gambas at ...1...
Wed Oct 22 21:51:45 CEST 2014


Le 22/10/2014 21:40, T Lee Davidson a écrit :
> Jorge,
>
> I took your code and modified it only enough to use a form to populate
> the relevant data; all else remained the same.
>
> Testing it showed that the attachment was indeed sent as
> "Content-Transfer-Encoding: quoted-printable".
>
> But, that does not appear to be a problem; at least with my Thunderbird.
> The attachment was sent as a true attachment (showing the paperclip) and
> not included in the message body.
>
> Perhaps Base64 encoding is not required for plain text and, hence, the
> reason Gambas does not bother with it.
>
>

The encoding format is not related at all with how the mail client 
displays a mail part: as attachment or inside the mail.

Curiously, there is no concept of "mail body" in the MIME message format.

Mail clients usually take the first part that is text or HTML as the 
body. But I think you can help him by using the "Content-Disposition" 
header.

I will make some tests as soon as I have time.

Regards,

-- 
Benoît Minisini




More information about the User mailing list