Hello,
if we want to read and save the attachments locally, the attachment name is ATT00001.bin instead of the real name “Behördenbeteiligung Standard Gemeinde.pdf”.
We use the following code to extract attachments:
[…]
var mailMessage = MailMessage.Load(“2024-07-17_Test-PDF-Konvertierung.eml”);
foreach(var attachment in mailMessage.Attachments)
{
// Here the attachment.Name is ATT00001.bin
}
[…]
We are assured that the attachment names are delivered correctly, as we then try to convert them to PDF, but with *.bin files we can’t do anything
I am on holiday until 9.9. and can only reply then.
2024-07-17_Test-PDF-Konvertierung.zip (130,4 KB)
Kind Regards,
Andy