Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
HoS1
Contributor III
Contributor III

tFileInputMail fetch inline attachments

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

Labels (2)
1 Solution

Accepted Solutions
HoS1
Contributor III
Contributor III
Author

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

View solution in original post

7 Replies
Anonymous
Not applicable

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

HoS1
Contributor III
Contributor III
Author

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

Anonymous
Not applicable

Hello,

You could send a private message to me Via community message feature and mask your sensitive data.

Best regards

Sabrina

HoS1
Contributor III
Contributor III
Author

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

Anonymous
Not applicable

Hello,

Great you got the solution and thanks for sharing it with us on Community.

Best regards

Sabrina

HoS1
Contributor III
Contributor III
Author

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

Anonymous
Not applicable

Hello,

Would you mind giving us your inline attachments here so that we could take a try on it?

Best regards

Sabrina