Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
is it possible to get all the inline attachments out of an e-mail?
I get this in the output:
Ignore the part image/png; name="image001.png"
Ignore the part image/png; name="image002.png"
Ignore the part image/png; name="image003.png"
Ignore the part image/png; name="image004.png"
Ignore the part image/png; name="image005.png"
Ignore the part image/png; name="image006.png"
All those png files are part of the message and i'd like to store them in the filesystem as the other attachments in the attachment-folder of tFileInputMail. I've set up mail-type to MIME.
Any chance to do this?
Kind regards
Holger
Hi Sabrina,
i figured it out without sending you an entire e-mail. In the Mail there's the following part:
--_478063d1-5046-4610-8457-babde667b5e8_
Content-Description: LTS-Logo-horizontal-claim-MailSignatur_ce236721-9958-4ec2-96be-26dec15fbf3a.png
Content-Type: image/png; name=
"LTS-Logo-horizontal-claim-MailSignatur_ce236721-9958-4ec2-96be-26dec15fbf3a.png"
Content-Disposition: inline; filename=
"LTS-Logo-horizontal-claim-MailSignatur_ce236721-9958-4ec2-96be-26dec15fbf3a.png"
Content-Transfer-Encoding: base64
Content-ID: <LTS-Logo-horizontal-claim-MailSignatur_ce236721-9958-4ec2-96be-26dec15fbf3a.png>
It seems like whenever it says
Content-Disposition: inline;
the part is ignored.
Kind regards
Holger
Hello,
Could you show us the content of your .mail file?
We will appreciate it a lot if you could elaborate your case with an example with input and expected output values.
Best regards
Sabrina
Hello Sabrina,
it's kind of difficult to find an e-mail that i can safely attach here. I'm trying to find one an upload it here as soon as i can.
Normally those inline attachments are created, by copying images from the clipboard to an e-mail.
Kind regards
Holger
Hello,
You could send a private message to me Via community message feature and mask your sensitive data.
Best regards
Sabrina
Hi Sabrina,
i figured it out without sending you an entire e-mail. In the Mail there's the following part:
--_478063d1-5046-4610-8457-babde667b5e8_
Content-Description: LTS-Logo-horizontal-claim-MailSignatur_ce236721-9958-4ec2-96be-26dec15fbf3a.png
Content-Type: image/png; name=
"LTS-Logo-horizontal-claim-MailSignatur_ce236721-9958-4ec2-96be-26dec15fbf3a.png"
Content-Disposition: inline; filename=
"LTS-Logo-horizontal-claim-MailSignatur_ce236721-9958-4ec2-96be-26dec15fbf3a.png"
Content-Transfer-Encoding: base64
Content-ID: <LTS-Logo-horizontal-claim-MailSignatur_ce236721-9958-4ec2-96be-26dec15fbf3a.png>
It seems like whenever it says
Content-Disposition: inline;
the part is ignored.
Kind regards
Holger
Hello,
Great you got the solution and thanks for sharing it with us on Community.
Best regards
Sabrina
Sorry, but that last comment is not a solution. It should only show you the parts of the E-Mails that weren't handled by tFileInputMail.
The question is still: How can we handle inline attachments in tFileInputMail?
Kind regards
Holger
Hello,
Would you mind giving us your inline attachments here so that we could take a try on it?
Best regards
Sabrina