TScSMTPClient sending Mail with attachment but without body text
Posted: Fri 29 Jul 2022 11:18
Sending an mail with TScSMTPClient in version 10.1.1 with an attachment but without a body text results in the file as body text.
The email body then looks like this:
The email body then looks like this:
Code: Select all
Content-Type: application/pdf;
name=xxxxxx.PDF
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=xxxxxx.PDF
JVBERi0xLjcNCiXi48/TDQoyIDAgb2JqDQo8PA0KL1R5cGUgL1hPYmplY3QNCi9TdWJ0eXBlIC9J
bWFnZQ0KL0NvbG9yU3BhY2UgL0RldmljZVJHQg0KL0JpdHNQZXJDb21wb25lbnQgOA0KL0ZpbHRl
...