Solved

Read incomming email

  • 26 November 2020
  • 3 replies
  • 328 views

Userlevel 3
Badge +8

Hi,

I would like to receive a price list from a supplier.

I have a BizApi for that, but I think I need to receive XML as a message.

Is it possible to get that incoming message from an e-mail? And how is that setup?

I have a Connector Reader called MAIL_READER1. If I setup an inbox here, where will I then find the messages?

I’m on IFS9.

BR Kresten

icon

Best answer by dsj 26 November 2020, 16:11

View original

This topic has been closed for comments

3 replies

Userlevel 7
Badge +20

Hi,

I would like to receive a price list from a supplier.

I have a BizApi for that, but I think I need to receive XML as a message.

Is it possible to get that incoming message from an e-mail? And how is that setup?

I have a Connector Reader called MAIL_READER1. If I setup an inbox here, where will I then find the messages?

I’m on IFS9.

BR Kresten

 

Hi @krestensb ,

 

Each attachment in the mail are being read as separate application message. You can setup content based routing rules to call your BizApi with xml(s) in the attachment as the input.

If you need to read the content ofthe mail body, tick the parse body option in the mail reader.

As I remember, message content is read as non-xml and mail should be format as plain text to parse the body.

 

Cheers!

Damith

Userlevel 3
Badge +8

I can do cool stuff with that. Thanks!

Userlevel 7
Badge +20

I can do cool stuff with that. Thanks!

 

Good luck @krestensb . Please share some details once you’ve done. It’s always interesting with integrations :)