Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

AquaLogic Service Bus - Email Proxy Service

605614Aug 31 2009 — edited Sep 9 2009
Hi,
I've created an E-mail Proxy Service with the below configuration

===========================
General Configuration
===========================
Service Type : Messaging Service
===========================
Message Type Configuration
===========================
Request Message Type : Text
Response Message Type : None
===========================
Transport Configuration
===========================
Protocol : email
Endpoint URI : mailfrom:hostname:port
Get All Headers : Yes
===========================
Email Transport Configuration
===========================
Email Protocol : imap
Service Account : MyEmailServiceAccount
Polling Interval : 10
Read Limit : 10
Pass By Reference : false
Post Read Action : archive
Attachments : ignore
Download Directory : /usr/data/work
Archive Directory : /usr/data/arch
Error Directory : /usr/data/error
Request Encoding : iso-8859-1
Using the configuration above WITHOUT any message flows . . .
I am able to listen and download new emails that are found in the inbox of the set Service Account (e.g. henry@company.com).
The emails are found as a text format in the /usr/data/work and /usr/data/arch folders.

The contents of these text files contains only the E-mail Body.

My question is how can I extract the E-mail's Subject, To, Cc, From, Date?

I've tried creating a message flow and use the following to log information into the application log file:
$inbound/ctx:transport/ctx:request/tp:headers/email:Subject

But nothing gets logged.

Hope someone can help me out.

Many Thanks,
Henry

Edited by: Henry Wu on Aug 31, 2009 8:37 PM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 7 2009
Added on Aug 31 2009
3 comments
1,797 views