Skip to main content
Solved

Read incomming email

  • November 26, 2020
  • 3 replies
  • 460 views

krestensb
Sidekick (Customer)
Forum|alt.badge.img+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

Best answer by dsj

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

This topic has been closed for replies.

3 replies

dsj
Ultimate Hero (Partner)
Forum|alt.badge.img+22
  • Ultimate Hero (Partner)
  • Answer
  • November 26, 2020

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


krestensb
Sidekick (Customer)
Forum|alt.badge.img+8
  • Author
  • Sidekick (Customer)
  • November 26, 2020

I can do cool stuff with that. Thanks!


dsj
Ultimate Hero (Partner)
Forum|alt.badge.img+22
  • Ultimate Hero (Partner)
  • November 26, 2020

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 :)