How to read incoming mail

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

How to read incoming mail

Abhishake Agarwal
Hi,

I have configured "javamail-container" in ofbiz-container.xml for polling
incoming  mail. Configuration is correct and in Debug mode it displays the
mail on console.

I need to process this mail and I don't know how to read incoming mail.

Please let me know if there any listener for reading the incoming mail or
something else.

Regards,
Abhishake
Reply | Threaded
Open this post in threaded view
|

Re: How to read incoming mail

BJ Freeman
assuming you read the mail setup
http://docs.ofbiz.org/display/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide
on the wiki do a search for mca
it is talked about in
AdvancedFrameworkTranscription20060824.pdf
ofbiz-reference-book.hwm.163.pdf
you can find the mca.xml
applications\content\servicedef


Abhishake Agarwal sent the following on 9/19/2008 11:26 PM:

> Hi,
>
> I have configured "javamail-container" in ofbiz-container.xml for polling
> incoming  mail. Configuration is correct and in Debug mode it displays the
> mail on console.
>
> I need to process this mail and I don't know how to read incoming mail.
>
> Please let me know if there any listener for reading the incoming mail or
> something else.
>
> Regards,
> Abhishake
>

Reply | Threaded
Open this post in threaded view
|

Re: How to read incoming mail

BJ Freeman
they move the example
framework\common\servicedef\smcas_test.xml
and here is one i wrote
         <mca mail-rule-name="FedexTrackingEmailRule">
        <condition-field field-name="from" operator="matches"
value="[hidden email]"/>
        <action service="ProcessFedExTracking" mode="sync"/>
    </mca>


BJ Freeman sent the following on 9/20/2008 4:41 AM:

> assuming you read the mail setup
> http://docs.ofbiz.org/display/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide
> on the wiki do a search for mca
> it is talked about in
> AdvancedFrameworkTranscription20060824.pdf
> ofbiz-reference-book.hwm.163.pdf
> you can find the mca.xml
> applications\content\servicedef
>
>
> Abhishake Agarwal sent the following on 9/19/2008 11:26 PM:
>> Hi,
>>
>> I have configured "javamail-container" in ofbiz-container.xml for polling
>> incoming  mail. Configuration is correct and in Debug mode it displays the
>> mail on console.
>>
>> I need to process this mail and I don't know how to read incoming mail.
>>
>> Please let me know if there any listener for reading the incoming mail or
>> something else.
>>
>> Regards,
>> Abhishake
>>
>
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: How to read incoming mail

Abhishake Agarwal
Thanks for the help.

On Sat, Sep 20, 2008 at 5:22 PM, BJ Freeman <[hidden email]> wrote:

> they move the example
> framework\common\servicedef\smcas_test.xml
> and here is one i wrote
>         <mca mail-rule-name="FedexTrackingEmailRule">
>        <condition-field field-name="from" operator="matches"
> value="[hidden email]"/>
>        <action service="ProcessFedExTracking" mode="sync"/>
>    </mca>
>
>
> BJ Freeman sent the following on 9/20/2008 4:41 AM:
> > assuming you read the mail setup
> >
> http://docs.ofbiz.org/display/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide
> > on the wiki do a search for mca
> > it is talked about in
> > AdvancedFrameworkTranscription20060824.pdf
> > ofbiz-reference-book.hwm.163.pdf
> > you can find the mca.xml
> > applications\content\servicedef
> >
> >
> > Abhishake Agarwal sent the following on 9/19/2008 11:26 PM:
> >> Hi,
> >>
> >> I have configured "javamail-container" in ofbiz-container.xml for
> polling
> >> incoming  mail. Configuration is correct and in Debug mode it displays
> the
> >> mail on console.
> >>
> >> I need to process this mail and I don't know how to read incoming mail.
> >>
> >> Please let me know if there any listener for reading the incoming mail
> or
> >> something else.
> >>
> >> Regards,
> >> Abhishake
> >>
> >
> >
> >
> >
>
>