Skip to Content

B1if store email as eml file

Hi experts,

Does anybody know how to save an e-mail as eml file in B1if 1.0? I guess it should look like that:

And the receiveemail atom would be the input for the StoreFile atom. But what Payload Type do you have to use and what would be the correct Character Encoding?

Thanks a lot for any help!

Kind regards,

Almuth

storeeml.png (16.1 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Posted on Jul 24, 2020 at 09:23 AM

    Hi,

    how does the payload look like after receiving the email?

    If you already receive something like <bfa:io pltype="bin">...</bfa:io> you can directly use it for the store file atom, otherwise please put an XFORM atom in between and apply the documentation of the store file to produce a usable payload.


    Best regards

    Bastian

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 24, 2020 at 11:14 AM

    Hi Bastian,

    Thank you very much for your response! Unfortunately we don't receive anything like that. The payload looks like:

    4436b829a8434b5897b9bcc173a2acec@caller.com>" xmlns=""> test@caller.com

    support@test.com

    <Subject>Support Mail</Subject>...

    We are creating service calls in SBO for inbound mails and we add the mail attachments as service call attachments. But the customer wants to have the e-mails as eml or msg file attached to the call as well so that they can click on it and see the whole e-mail with history. I guess the only way would be to implement a transformation atom to store the e-mail as html file. Or do you see any other option?

    Kind regards,

    Almuth

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 24, 2020 at 11:15 AM
    <mailEntry id="<4436b829a8434b5897b9bcc173a2acec@speck.net>" xmlns="">
    <From>test@test.com</From>
    <To>support@test.com</To>
    <Subject>Test Mail</Subject>...
    
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 28, 2020 at 01:31 PM

    Hi Almuth,

    you received an xml file, which can be stored as xml in the file system.

    If you store it as *.msg, it's still an xml document only with a different file ending.

    If you want to store it as mail specific format you probably need to put it into the required xml structure, which your Email program is able to interpret.

    Best regards

    Bastian

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.