We recommend switching to the latest versions of Edge, Firefox, Chrome or Safari. Using Internet Explorer will result in a loss of website functionality.

Comments

4 comments

  • Avatar
    Adrian Williams

    There is no built-in node in the product to read emails. However, a colleague sent me the attached custom node based on the Python node which is able to read messages using IMAP. This is not a supported node and your mileage may vary. Most of the node configuration has properties:

    However, you will need to configure the email folder that is to be read in the Python code:

    In the example the 'Drafts' folder is being read:

     

    The node is configured to use SSL as the code uses the imaplib.IMAP_SSL() function (see line 15 in the above screenshot). In the (unlikely) event you are not using a SSL connection then the imaplib.IMAP()  function would be used.

    Requires Analyze 3.6.x to import.

     

    Attached files

    Read IMAP messages--share - 5 May 2021.lna

     

    0
    Comment actions Permalink
  • Avatar
    Sébastien Godet

    Hi Adrian,

    Thanks for your reply. 

    I have been testing the node both from our D360 server and from a local desktop without success. 

    I always get connection errors 10060 or 10054. I have tried our company mail account and a gmail too, with the same result.

    Have you seen it working? The Python code is not for beginners :)

    Sebastien

     

    0
    Comment actions Permalink
  • Avatar
    Adrian Williams

    I tried the node against our Office365 service and the node completes successfully and outputs raw data including the HTML content of emails, e.g.

    Is the port value correct? Do you get any more detail on the errors if you set the LogLevel property of the node (in the 'Common' section of the properties) to 0?

    The tests were performed on a Linux Server instance and a Desktop instance.

    0
    Comment actions Permalink
  • Avatar
    Sébastien Godet

    Thank you for confirming.

    I have removed our VPN and now I have a Login failed. I suspect then that we have either 1/ port blocking from our company 2/security standards that makes a certificates necessary in some way.

    I will continue to test with other mail account, this feature looks very interesting.

    Sebastien

    0
    Comment actions Permalink

Please sign in to leave a comment.