[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SMTP Alternative Content + PDF Attachment
[Thread Prev] | [Thread Next]
- Subject: SMTP Alternative Content + PDF Attachment
- From: Weg <way@xxxxxx>
- Date: Wed, 8 May 2024 13:17:49 +0200
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Hello How can I use alternative content with smtp Class and also sending Attachments like PDF-Files I can Add Attachments by: smtp.Body = "Hello World" smtp.add("<h1>Hello World</h1>, "text/html" ) smtp.add(File.Load("PDF.pdf"), "application/pdf", "PDF.pdf") One of them is alternative mail content and the other is not. But I can only define smtp.Alternative = true / false global in the class valid for all attachments. How is it possible to handle this? Thanks Tom
Re: SMTP Alternative Content + PDF Attachment | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |