JPO to send email to users from Program Job Server?

I have a java program object in XI R2 SP4 using BO Enterprise SDK APIs that sets the ISMPTOptions for a program job server.  For example, I set bogus information for the SMPT server domain, Server name, SMPT user name and password, To Addresses (i.e.user email addresses) for the programjobserver since I'm debugging in an environment that does not have an email server.
When I execute the program, I'm sure that the emails are not being sent to the users but there are no errors reported in the  java program or program job server since it executes successfully.
How can I debug this program or progam job server to determine where to find the status of the SMPT email operation? 
My audit report in CMC shows no errors for this server and that it executes successfully.

Old school and write everything out in the Java Program Object to System.out - you can view the stdout output by clicking on the instance after it's completed.
Sincerely,
Ted Ueda

Similar Messages

  • Sending an email to users from abap program

    Hi experts ,
    How to send an email to users from abap program ...
    i need full coding please..so that i can copy and paste it in my program.
    Thank you in advance.
    Rajasekhar.P

    Hi Venkat
    check the below simple code to convert spool to HTML and email it
    data: list type table of  abaplist with header line.
    data: htmllines type table of w3html with header line.
    data: maildata   like sodocchgi1.
    data: mailtxt    like solisti1 occurs 10 with header line.
    data: mailrec    like somlrec90 occurs 0  with header line.
    start-of-selection.
    Produce a list
      do 100 times.
        write:/ sy-index, at 30 sy-index, at 50 sy-index.
      enddo.
    Save the list
      call function 'SAVE_LIST'
           tables
                listobject         = list
           exceptions
                list_index_invalid = 1
                others             = 2.
    Convert the list
      call function 'WWW_LIST_TO_HTML'
           tables
                html = htmllines.
    Send mail
      maildata-obj_name = 'TEST'.
      maildata-obj_descr = 'Test Subject'.
      loop at htmllines.
        mailtxt = htmllines.
        append mailtxt.
      endloop.
      mailrec-receiver = '[email protected]'.
      mailrec-rec_type  = 'U'.
      append mailrec.
      call function 'SO_NEW_DOCUMENT_SEND_API1'
           exporting
                document_data              = maildata
                document_type              = 'HTM'
                put_in_outbox              = 'X'
           tables
                object_header              = mailtxt
                object_content             = mailtxt
                receivers                  = mailrec
           exceptions
                too_many_receivers         = 1
                document_not_sent          = 2
                document_type_not_exist    = 3
                operation_no_authorization = 4
                parameter_error            = 5
                x_error                    = 6
                enqueue_error              = 7
                others                     = 8.
      if sy-subrc  0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      endif.

  • Send email to users after completion of conc program by using Alerts

    Hi,
    I want to send email to users after completion of concurrent program by using Alerts . please guide me how to create alert and should send email of concurrent program details to user.
    Thanks in advance..it's a urgent requirement so help me.
    Regards
    Narender B

    Application Express != Oracle Applications
    You got into wrong forum please add here {forum:id=475}

  • Sending email to user using the notification template in OIM 11g

    Hi all
    I have created a Notification Template using web console in OIM 11g.
    Iam able to access the contents from notification template in my java code.
    But iam not able to find the correct api's to send email to user using the notification template
    (like tcEmailNotificationUtil using this class we can connect to email template created in design console and creating IT resourse we can send email to user using the method sendEmail).
    Waiting for your help and pointers
    Thanks and Regards
    Bipin patil

    Thanks GP!.
    But i have the same doubt here.
    "The Notification Event is defined through a XML file that must be loaded into MDS database." - in which path and in what name it should be.
    Because under /metadata/iam-features-notification, i couldnt see any event Xml present. I thought atleast we could see the existing OOB notification template's event xml files.
    Please let me know if you are aware.
    Thanks,
    Amudha

  • Failed to send Email to user root. (90017)Invalid protocol: null

    Dear All ,
    After having configure the notification i goto the following error when a notification is enable.
    Failed to send Email to user root. (90017)Invalid protocol: null
    How to fix it
    Regards

    Thanks for the prompt return
    The link you send to me refer to notification with Grid control and there is no feature to perform a test to send an email . Or may me from cli .
    How can i check if EC can send an email . On Os level we use sedmail and it work
    Tx

  • HT4979 why can I not send email when away from my home wifi? Am able to receive messages OK, and outgoing mailserver is correct?

    Why am I unable to send email when away from my home wifi ? I am able to receive mail OK, and have double- checked the outgoing server which is correct. This problem is consistent with my Macbook Pro, iPhone, and iPad2.
    Attempts to send messages results in them sitting in the Outbox and never- ending 'sending message' displayed.
    I am able to send using my   me.com  server.
    Home service provider is Cogeco.
    Any help would be appreciated.

    iOS: Unable to send or receive email
    http://support.apple.com/kb/TS3899
    Can’t Send Emails on iPad – Troubleshooting Steps
    http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
    iPad Mail
    http://www.apple.com/support/ipad/mail/
    Try a Reset - iPad How-Tos  http://ipod.about.com/lr/ipad_how-tos/903396/1/
    Or this - Delete the account in Mail and then set it up again.
     Cheers, Tom

  • Function Module to send emails to users

    Hi,
    Please help me in finding a FM that will allow me to send emails to users if a field in the internal table is blank.
    Please suggest.
    Thanks.

    Hi
    Use this
          call function 'SO_NEW_DOCUMENT_SEND_API1'
            EXPORTING
              document_data              = doc_data " Subject
              document_type              = 'RAW'
              put_in_outbox              = 'X'
              commit_work                = 'X'
            TABLES
              object_header              = obj_head " Header
              object_content             = obj_con[] " Body of mail
              receivers                  = rec " reciver
            EXCEPTIONS
              too_many_receivers         = 1
              document_not_sent          = 2
              document_type_not_exist    = 3
              operation_no_authorization = 4
              parameter_error            = 5
              x_error                    = 6
              enqueue_error              = 7
              others                     = 8.
    rgds
    Arun

  • When I send emails with photos from iPhoto recipients often tell me images are upside down.  What would cause that?

    When I send emails with photos from iPhoto recipients often tell me images are upside down.  What would cause that?

    Found this :
    https://discussions.apple.com/thread/3431867?start=0&tstart=0
    by doing this :
    http://www.google.com/search?q=images+are+upside+down+ios

  • I am unable to send emails using mail from my btinternet and yahoo accounts similar problem to others with mobile me accounts on lion any suggestions?

    I am unable to send emails using mail from my btinternet and yahoo accounts similar problem to others with mobile me accounts on lion any suggestions?

    Do I need to delete all my email accounts and start again?

  • Sending email to groups from iPad/iPhone

    How do you send email to groups from an iPad or iPhone ?

    Do all the contacts in the group have a valid email address? What does the server complain about exactly (without revealing the actual email addresses)?

  • My iPhone will not send emails when away from my home wifi

    my iphone will not send emails when away from home wifi any advice

    Hey craggee,
    Thanks for the question. This is usually do to a limitation by your ISP/email provider:
    If you are only able to use your email account while connected to your home network, this may be a limitation put in place by your email service provider. For further support, please contact your email service provider directly.
    iOS: Troubleshooting Mail
    http://support.apple.com/kb/TS3899
    Thanks,
    Matt M.

  • Problem with send email to recipients From recordset behavior

    Hello
    I use the ^send email to recipients From recordset^ behavior, then words of the subject of  sent email stick and the spaces between words in subject removed.
    E-Mail charset is utf-8 and language is Persian
    for example:
    موضوع ايميل من
    will be change to:
    موضوعايميلمن
    notice: spaces are removed
    To overcome this problem, please help me
    sorry, i'm not good in english
    Thanks

    Persian language is very similar to arabic language
    Please help me, I can't solve this problem

  • Can't send emails when away from home

    I can send emails from my iphone when I'm at home, but not once I have left the house. I get the 'sending' bar at the bottom, but nothing ever happens. Any ideas?

    When at home connected to your wireless network?
    If so, is the email account provided by your internet service provider at home?
    If yes, most internet service providers don't have an authenticated SMTP server with the email account they provide which is the problem.
    Most, if not all ISPs block the use of SMTP servers that are outside of their network or not provided by the ISP unless the SMTP server is authenticated, and AT&T is no different in this regard when connected to the internet via their cellular network when sending email.
    AT&T's SMTP server is included as an available SMTP server to select/use for an email account when connected to the internet via their cellular network if an email account does not have an authenticated SMTP server. This should work when connected to AT&T's cellular network but may not work when connected to your wi-fi network at home with your internet service provider being used for your internet connection.
    I access two email accounts with the iPhone's Mail client. Both accounts have an authenticated SMTP server and I've never had any problems sending with either account regardless the internet service provider being used for my internet connection at the time.

  • I am having trouble sending email. I get reply that server does not allow relaying. iphone 4

    I am having trouble sending email. I get reply that server does not allow relaying. iphone 4

    having the same problem with iphone 4S. help! it's only happening from one email acct. gmail is fine.

  • How to prevent user from creating jobs

    Hi,
    we need to prevent user from creating jobs on a dev enviorement. It's a 10.2.0.4 database standard on linux 64bits.
    Their schema has only connect and resource roles. Is there a way to prevent them from creating jobs? In 11g it's the CREATE JOB permission, but in 10g i'm not sure how can i do this.
    Thanks for any ideas!

    On 10g it's probably the CREATE JOB as well.
    http://www.oracle.com/pls/db102/homepage
    Alternatively you could:
    alter system set job_queue_processes=0
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams089.htm#REFRN10077

Maybe you are looking for

  • Is the iPod nano [second generation] supported by OS Lion and iTunes 10

    Hi All I cannot "see" my 2nd gen iPod nano on iTunes 10.6 running on a new iMac with OS Lion. I have worked through the various troubleshooters to no avail. Have Apple ceased to support the 2nd gen nano? LF

  • 1.1.3 Bricked my Iphone

    System info (Windows Xp, newest version of Itunes, Inspiron 9300) Like others when I went to install the update it crashed my iphone and said update could not be installed the iphone then turned off and when it came back up it was showing the Connect

  • Weblogic.deploy update -- and that null message

    So, does anyone else receive an inexplicable error message when running "weblogic.deploy update" in version 6.0, stating that a "java.lang.NullPointerException" has been thrown? The update occurs anyway, but seeing a message like this is always disco

  • Dreamweaver Installation Conflict

    I bought dreamweaver cs3 a couple of months ago and installed it on my computer. Since then my computer was wiped out and xp re-formatted. Now when i insert the disk and go to the "setup" part it says "conflicts with dreamweaver cs3" and so i figured

  • Can't download raw 3.7

    When I try to download camera raw 3.7 on my pc, windows, I get one of the following two statements: 1. "The compressed (zipped) folder is invalid or corrupted"; or 2. "Not the right kind of document." Can anyone offer suggestions of how I can proceed