Skip to Content
author's profile photo
Former Member

How to Configure Receiver Mail Adapter?

I need to designed a BPM if Message is failed to update database then send an e-mail to alias group in Microsoft outlook by using Receiver Mail adapter.

Can someone help me to design above BPM and how I need to configure receiver mail adapter.

Thanks in advance!

Mrudula

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

12 Answers

  • Best Answer
    author's profile photo
    Former Member
    Oct 03, 2005 at 02:52 PM

    I changed the content encoding to BASE64 and it worked!

    Thousands thanks to all of you who helped me to configure Receiver Mail Adapter and BPM.

    Mrudula

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 27, 2005 at 08:17 PM

    Hi,

    >>>I need to designed a BPM if Message is failed to update

    if depends what are you trying to achive:

    1. you update didn't update any fields:

    <update_count>0</update_count>

    you can use switch step if count = 0 then send mail

    2. if your send step (to the database) failed

    then you have to use exception branch in which you can use a send step to send an e-mail

    anything particular you want to know about

    receiver mail adapter config? :

    http://help.sap.com/saphelp_nw04/helpdata/en/6b/4493404f673028e10000000a1550b0/content.htm

    Regards,

    michal

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Sep 27, 2005 at 08:56 PM

    Michal,

    I am using "SEND" step to update database by JDBC adapter. Do I need to use "Exception-System error" when message is failed to update database system in the above "SEND" step? If yes, can you please explain me in detail how to use "Exception-System errors" as I have not used it in the past.

    Thanks a lot!

    Mrudula

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      As Michal was saying you use Exception handler only when the database update fails systemically. i.e. there were technical errors or connectivity problems during update. In order to handle this, you can do the following,

      1.Create a block and assign an exception (say)DBException in the Exceptions property of the block.

      2.Insert your send step in the block and select DBException from the drop down for the System errors in the send step properties.

      3.Create an exception handler by using the context-menu for the block (by right-clicking on the block).

      4.Select DBException as exception handler for the property of the exception handler branch.

      5.Insert the send mail step inside the exception handler branch either by throwing an alert or by using the mail receiver adapter.

      Regards,

      Suresh

  • author's profile photo
    Former Member
    Sep 28, 2005 at 01:47 PM

    Suresh,

    Thank you very much for explaining me step by step.

    Let me design and configure the BPM and I would update this message if I have more questions or with the results.

    Thanks again!

    Mrudula

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Sep 30, 2005 at 02:31 PM

    Hi,

    Can someone please guide me how to configure receiver Mail adapter? What steps we needs to do etc......

    Thanks in advance!

    Mrudula

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Sep 30, 2005 at 03:17 PM

    I have used following parameters to configured the receiver mail adapter. We are using Microsoft outlook-2003.

    Transport protocol - SMTP

    Message Protocol - XIALL

    Adapter Engine - Integration Server

    URL - xyz.corp.abc.com

    From - mt1@abc.com

    To - mt1@abc.com

    Subject - Test mail

    I am getting following error while calling the mail adapter :

    Mail: error occured: com.sap.aii.af.mp.module.ModuleException

    Can someone please help me to resolve this issue.

    Thanks in advance!

    Mrudula

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Sep 30, 2005 at 03:57 PM

    Hi Saravana,

    Thanks for the link.

    Now I am using URL - smtp://xyz.corp.abc.com and I still getting the same error. Does anyone has any clue what am I missing in configuration?

    Thanks!

    Mrudula

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Sep 30, 2005 at 06:47 PM

    I am getting <Trace level="3" type="T">Unknown channel type: Mail</Trace> when it tries to call "MAIL" adapter.

    Does anyone has any clue where should I look?

    Thanks!

    Mrudula

    <Trace level="3" type="T">Calling pipeline service: PLSRV_CALL_ADAPTER</Trace>

    <Trace level="3" type="T">Reading Pipeline-Service specification...</Trace>

    <Trace level="3" type="T" />

    <Trace level="3" type="T">Pipeline service specification (table SXMSPLSRV)</Trace>

    <Trace level="3" type="T">PLSRVID = PLSRV_CALL_ADAPTER</Trace>

    <Trace level="3" type="T">PLSRVTYPE = =SWITCH=</Trace>

    <Trace level="3" type="T">ADRESSMOD = SD</Trace>

    <Trace level="3" type="T">P_CLASS =</Trace>

    <Trace level="3" type="T">P_IFNAME =</Trace>

    <Trace level="3" type="T">P_METHOD =</Trace>

    <Trace level="3" type="T">FL_LOG =</Trace>

    <Trace level="3" type="T">FL_DUMMY = 0</Trace>

    <Trace level="3" type="T" />

    <Trace level="3" type="T">Unknown channel type: Mail</Trace>

    <Trace level="3" type="T" />

    <Trace level="3" type="T">Pipeline service specification (table SXMSPLSRV)</Trace>

    <Trace level="3" type="T">PLSRVID = PLSRV_CALL_ADAPTER</Trace>

    <Trace level="3" type="T">PLSRVTYPE = AENGINE</Trace>

    <Trace level="3" type="T">ADRESSMOD = SD</Trace>

    <Trace level="3" type="T">P_CLASS = CL_XMS_PLSRV_IE_ADAPTER</Trace>

    <Trace level="3" type="T">P_IFNAME = IF_XMS_PLSRV</Trace>

    <Trace level="3" type="T">P_METHOD = ENTER_PLSRV</Trace>

    <Trace level="3" type="T">FL_LOG =</Trace>

    <Trace level="3" type="T">FL_DUMMY = 0</Trace>

    <Trace level="3" type="T" />

    <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV_LOCAL" />

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Mrudula

      The exception that you receive 'com.sap.aii.af.mp.module.ModuleException' is because of incorrect URL.

      You say that you are using, the following

      URL - smtp://xyz.corp.abc.com

      I guess that is where the problem is, try checking with your basis or system admin folks if the smtp server is correct and running.

      cheers

      Sameer

  • author's profile photo
    Former Member
    Oct 03, 2005 at 01:20 PM

    Sameer

    Thank you for your reply.

    I would check with Basis guys for the correct URL address.

    Thanks!

    Mrudula

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Oct 03, 2005 at 02:41 PM

    Sameer

    Thank you very much Sameer!

    It worked! I am able to send e-mails now.

    I am using Message Protocol as XIPAYLOAD. E-mail has the attachement of XIPAYLOAD in XML format. Is there anyway I can convert it into "Text" format? Any idea??

    Thanks in advance!

    Mrudula

    Add comment
    10|10000 characters needed characters exceeded