Forum: Netzwerke
by Kostas,
19. Mär 2018
Ja, bei mir funktioniert der Emailversand jetzt einwandfrei.
Ich habe es mit JPEG, PNG und PDF einzel und in Kombination ausprobiert. Alles einwandfrei in Thunderbird angekommen.
Gruß Kostas
Forum: Netzwerke
by Kostas,
20. Feb 2018
Hallo Matthias,
perfekt. Jetzt funktioniert alles mit und ohne Anhang.
procedure TForm3.Button1Click(Sender: TObject);
const aFile='F:\A02-6176_1.jpg';
var Attachment : TIdAttachment;
sBody:string;
lTextPart: TIdText;
Forum: Netzwerke
by Kostas,
20. Feb 2018
Hallo Gollum,
Danke für den Hinweis. Ich habe die zwei String nun so abgeändert weil es Thunderbird auch so macht.
Die Umlaute funktionieren jetzt allerdings NUR wenn keine Anhänge mit gesendet werden.
idMessage.ContentType:='text/plain; charset=utf-8; format=flowed';
idMessage.ContentTransferEncoding:='8bit';
Das ist der Body ohne Anhang
Umlaute öäüß ÖÄÜ
Forum: Netzwerke
by Kostas,
20. Feb 2018
Hallo Zusammen,
Hat jemand eine Idee wie das encoding beim body gesetzt werden kann.
Das sollte gesetzt werden.
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable