Skip to Content
avatar image
Former Member

Emails not being generated using UDF

Hi,

We had setup a functionality to send email via UDF using the following blog.

Mail without email adapter? Part - I - Process Integration - SCN Wiki

This worked fine for some time. However, it does not generate emails anymore. There were no changes done on the objects. We checked the java mail service settings as suggested in some of the SCN posts and everything looks configured fine.

We are not able to determine what is preventing the emails from being generated. Any pointers would be really helpful.

We are using SAP PI 7.31 java only installation.

Thanks,

Ravi

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Jun 30, 2014 at 07:29 AM

    Hi Ravi,

    Did you check SMTP services availability?

    SMTP Configuration in SAP XI - Process Integration - SCN Wiki

    Regards,

    Krupa

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Hareesh Gampa

      Thanks for the inputs. I did check the spam/junk folder in recipient mailbox. Couldn't find it there. Also, we did a restart on java mail client.

  • Jun 30, 2014 at 07:44 AM

    HI Ravi,

    Have you tried to set a try/catch instructions in the java code to capture an exception more self-explanatory?

    Regards.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Inaki,

      I have put a trace message right after the "send" method is called(which is used to trigger an email). The trace message executes sucessfully so I believe the send method executes as well and the UDF returns a proper value. So, there is no exception there.

      Thanks,

      Ravi

  • avatar image
    Former Member
    Jul 07, 2014 at 02:20 PM

    Hi,

    We have still not figured out a solution to this. Any pointers?

    Thanks,

    Ravi

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 07, 2014 at 10:27 PM

    we are able to trigger emails through Alert mechanism and MAIL adapter. This UDF also used to generate emails couple of months back. Do the alert mechanism and the UDF use same JAVA mail client? Is there a way to monitor java mail client?

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Rajkamal,

      We did not find any resolution and we had to drop this functionality eventually. Sorry for the disappointment.

      Thanks,

      Ravi Desai