Focal Point
[CLOSED] Retrieve subject from email

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/1381057331/m/7397028076

May 23, 2014, 04:36 AM
Jeroen
[CLOSED] Retrieve subject from email
Hi all,

In a process flow I need to retrieve the subject of an email. In fact I need to detach the attachment of the email and store it with the subject as a filename.

I can succesfully detach and store the attachement using the EmailDetach service, but I can't seem to get to the email subject.

Does any know how to get to it?

Thanks a million!

Jeroen

This message has been edited. Last edited by: <Kathryn Henning>,


iWay 6.0.1
May 23, 2014, 09:32 AM
ray_In_Vancouver
Done it lots of times

go here

http://ecl.informationbuilders.com/iway/index.jsp

search for 'Email Listener Special Registers'

you will see all the Email Listener Special Registers.

use _sreg(subject)



if you need to put a QA agent to see available SREG's email listener.


IWay SM 5.6, 6.01, 6.1, 6.9, 7.0
EDI, XML, XSD, WF 8.0, DM 77,8.0 asp.net, SQL Server
June 04, 2014, 09:55 AM
Jeroen
Hi Ray,

Thanks for your reply.

I've put the following in the 'Output File Name' property of the EmailDetach service in my processflow: _SREG(subject).csv

Unfortunatly, it keeps saving the attachment with its original file name instead of the emails subject.

Any idea? I'm using iWay 6.0.1 patch.65084

Thanks,
Kind regards,
Jeroen


iWay 6.0.1
June 05, 2014, 09:24 AM
ray_In_Vancouver
right after your email attachment service out a QA agent in there and run your process to get ouptput, and if possible screen shot yout process flow and post it


IWay SM 5.6, 6.01, 6.1, 6.9, 7.0
EDI, XML, XSD, WF 8.0, DM 77,8.0 asp.net, SQL Server