BODS 3.1 :SMTP configuration to send email for success or failure of job

Hi.
This is further to this post : http://forums.sdn.sap.com/thread.jspa?threadID=1965129&tstart=0
Thanks to all for the help.
I did not find a complete set of information as things to do (for a person who is new to BODS).
Hence sharing the workflow which works for me when tested on a simple workflow  :
Pre-requisite : SMTP service to be made available on the BODS server and port 25 to be opened up.
This is done by the IT dept of the company.
When smtp service is activated and port 25 is opened up, telnet IP address 25 should say, service is available.
Suggestion : create a email group like : bods at company.com which can be used to be used for the BODS JOBs. Which does not prompt for a password. This also is done by the IT dept of the company.
1) On the BODS server :
1) Click open Data Services Server Manager
2) SMTP settings for smtp_to functions :
Add the IP Address of the SMTP server
Add the email address of the sender. Eg. bodsjobs at companyname,com
3)Apply/Restart the server.
2) Login to BODS Designer :
Create a test job :
TRY ==>DF===> Script for success ===> CATCH script for failure
In the script for success : add the following :
print (' IN TRY BLOCK Before email ' );
smtp_to('bodsjobs at abc,com', ' SUCCESS OF JOB  :  '
|| job_name(),'Job completed successfully ', 0, 0);
print('After Email ');
In the script for Catch add the following :
print (' IN CATCH BLOCK Before email ' );
smtp_to('bodsjobs at abc,com', 'FAILURE OF JOB : '
|| job_name(),
error_number( ) || 'Error message: ' || error_message( ) ||
'check details', 50, 50);
print('After Email ');
Note : In the catch : select all exceptions on the check box.
Save all.
Click on the job and say execute.
The job will run and if it is successful. You will receive the succes mail.
If there is any error in the DF before the catch, you will receive a mail, which says failure.
The above workflow, when tested atleast works for me.
Hope this  helps.
Regards
indu

Hi Arun.
Am really not aware as to how to make things work from the console.
I work on windows environment both at client and on the server.
It looks like you got a bit confused on suggestion of a email group account.
I never did anything on outlook configuration for activation of smtp for bods.
I think you should not mess with outlook.
I dont know from the client side how things work.
But i have worked directly on the BODS server where the bods installation was done.
It is relatively very simple to do and to test.
But to even test why you get that error.
All you need is just a email id. Which could be yours ???
Put your email id as the source of email in that box in the job server.
And put only your email id in smtp_to and test it.
Run a test job. If it completes successfully. You will receive a mail.
In the catch, if you have checked all the boxes for error capture,
if the job fails, it would throw a dump of the errors in the email.
Once everything works well and you receive emails for any jobs you are running.
Then you could decide for the source of your email id and for the receipients of your emails of the jobs.
You could put a group id of your team as source. And also in smtp_to script in case you want everyone to receive the alert that the job has been done or it has errors.
Or include only those email ids in the smtp_to whom you feel, should receive the mail.
Hope this idea helps.
Please dont mess with outlook for any smtp activation for bods.
It is not required if you are working on a windows environment.
You just need a email id for testing.
Outlook configuration does not come into picture at all.
if there is any other unix environment involved. I have no idea.
And i really do not know how things would be from a client side to configure.
Server configurations i do from the server.
I did all configurations on the main server machine. Not from the client.
And I have only one job server so i did everything there.
I did not do anything from management console.
I use management console only for monitoring of jobs on a daily basis, the dashboard which gives you details of the data pulled, time taken etc etc.
cheers
indu.
Edited by: Indumathy Narayanan on Oct 22, 2011 8:05 AM
Edited by: Indumathy Narayanan on Oct 22, 2011 8:09 AM
Edited by: Indumathy Narayanan on Oct 22, 2011 8:17 AM
Edited by: Indumathy Narayanan on Oct 22, 2011 8:18 AM

Similar Messages

  • SMTP Adapter: Not sending email for one of the applications

    I have a weird problem. I have three applications that need to send emails. Two of them are sending emails but the third one is not. Practically everything in the third is a copy-paste from the second application. Uses the same handler and so forth. In reality
    there is no reason there should be any failure. 
    How can I track if my email request was sent to the smtp server in the first place and also why this one is failing? Further, anything on the smtp server that could help tracing this message. May be it is failing there?

    The SMTP Adapter don't just "through away" messages. If your Tracked Service Instances shows that a message was sent through the Port, I am pretty sure that a mail was indeed sent. 
    -Are you using Static- or Dynamic Port?
    Can you try to set the Send Port in "Stopped" state, and then send a message to it. Examine the message suspended in BizTalk, and if everything looks ok, then start the Port again and check that the message has disappeared from both suspended and running
    instances in the Group Hub.
    If so, quickly check the mail box, make sure that no spam-filters etc. are messing up your test.
    Morten la Cour

  • Email Activity not sending emails for one domain - 10.1.3.4 MLR#10

    I have four domains in my BPELConsole. My evey BPEL process has CatchAll block and I'm sending email notification with fault details.
    Somehow, my BPEL processes from three domains are sending emails properly but myDomain4 is not sending emails even after successful execution of Email Activity.
    1) I have compared the Email code with processes in other domain and they are similar.
    2) orabpel.bpelnotification is not logging any error for this notification.
    3) I never received any email from this domain. There was no error in logs during domain creation.
    3) I am getting following in logs that sending email was successfully executed. It received Notification ID too
    <2010-09-22 07:24:44,530> <DEBUG> <myDomain4.collaxa.cube.services> <oracle.bpel.services.notification.queue.QueueConnectionPool::QueueConnectionPool> Fetched a queue connection from pool java:comp/env/jms/Queue/NotificationSenderQueueConnectionFactory, available connections=4
    <2010-09-22 07:24:44,534> <DEBUG> <myDomain4.collaxa.cube.services> <oracle.bpel.services.notification.queue.sender.Publisher::init> Start of send(type,caller,message) type = email caller = BPEL
    <2010-09-22 07:24:44,534> <DEBUG> <myDomain4.collaxa.cube.services> <oracle.bpel.services.notification.queue.sender.Publisher::init> Notification ID 12834c63e81c20d0:-71064af1:42b35e5dab4:-7283
    Please help/hint for any possible solution/debugging.

    sometimes i have seen emails not being sent when the async invokes takes more time than the overall completion.. And yes, we might still see successful log as emails sent. FYI - I am with 10.1.3.3.1 MLR #8.
    did you try just creating a email only process? switch off all other processes in that domain and initiate only this email process to see what happens..

  • Restrict Broadcaster to not send Emails for certain Queries

    Hi,
    is there any possibility to restrict a user on sending Emails for certain queries?
    With the existing authorizaion objects S_RS_BCS and S_RS_ADMWB it is not possible to do so.
    He will need S_RS_COMP to be able to open the Query.
    With S_OC_SEND I just be able to take his ability to send Emails, but the user will need this option.
    Does anybody has an idea?
    Thanks and best regards
    Sascha

    The Workspace User role ony controls whether the user is allowed to use Workspace or not.  A user will only be able to Start a Process in Workspace if they a) are a Workspace User and b) the process security settings allow them to by having the INVOKE_PERM enabled.  The INVOKE_PERM setting is usually controlled from within Application Management area in the Adminui and would be set per process to define who is allowed to invoke (start) that service (process).  Take a look at your processes and see if they are defined for the All Principals group having the INVOKE_PERM as this is one way in which everybody can start a process.
    I'm unfamiliar with the Services User role but if it sounds like maybe this has the INVOKE_PERM so this could be why all your users can start processes, presuming they are all in this role.
    But however the INVOKE_PERM priviledge is being granted, it is not via the Workspace User role.
    Hope that helps.
    Jon

  • I have not been able to send email for some time but now i have stopped being able to recieve email.

    i have not been able to send emails for some time but in the last two days ive stopped being able to receive, the message says 'username or password incorrect' ive checked all the settings, ive deleated accout and set up again, ive rebooted phone. i tried to sync with pc but this also fails any ideas

    That is correct, They don't seem to know about Mac, never got a single scrap of help from  them.  Try recreating your account from scratch, delete the account, (write down all your settings first) and add an account, see if that works, and if it does, delete the first account to prevent things doubling up on you.  I think that's what I did, it was quite a while ago.  Hope this helps, or gets you pointed in the right direction.  Maybe go to At&t and try creating another account, and if ti works, delete the first.
    One other tihing I did was to reset Safari, as AT&T uses the net, that's about all I can remember, like I said it was awhile ago.

  • How can i send email for suport to rest my questions' please helpe'

    how can i send email for suport to rest my questions' please helpe'

    You need to ask Apple to reset your security questions; this can be done by clicking here and picking a method, or if your country isn't listed, filling out and submitting this form.
    They wouldn't be security questions if they could be bypassed without Apple verifying your identity.
    (109789)

  • Email for process message failure in CO54

    Hi
    Does anyone know if it is possible to send auto generated emails for process message terminations in tcode CO54?
    Regards
    Werner

    Hi Rohit,
    You can maintain the email ids in following two reports for any queue blockage in outbound and inbound queue -
    /SAPAPO/RCIFQUEUECHECK - For Outbound queue Faiure
    /SAPAPO/RCIFINQUEUECHECK - Sends notifications in the event of inboundCIF errors
    Here you can specify the  -
    1. CIF name/initials like CF*
    2. Name/Distribution List to which mails should be triggered
    3. Target system name
    4. Other settings as needed
    Moreover, you can schedule these reports as periodic background jobs scheduled to run every 30 minutes/1hour as per business requirement.
    This will send emails whenever any queu failure occurs.
    Hope it helps you.
    Regards,
    Alok

  • Any SMTP server to send emails from Localhost ??

    Hi,
    i want to email user,
    is there any FREE SMTP server available to download to use it in localhost PC, that i can use to configure it and send my email to the user at perticular email ID from My LOCALHOST PC ?
    i need authentication to send emails..
    so i need my own java SMTP server for localhost to send EMAIL
    my Email Application is ready and running.
    but i need SMTP server
    Please give me solutions.....

    http://java.sun.com/products/javamail/FAQ.html#servers
    And of course http://sendmail.org/

  • SMTP issue, cant send emails.  Please help!

    Hi everyone-
    So like everyone else, i assume, i wanted the push email for my work. I set up a .me account, forwarded my work emails over, and then set up my work email (bluetie) as my smtp server as i wanted to have the emails sent from that account. For some reason, it just wont work- i can not send any emails! It just waits and waits and eventually says "one or more email recipients not valid" or just puts the email in my outbox (and never sends it).
    I have turned off wifi, as i heard this could be a problem. I have also changed the port number of the smtp to what bluetie recommended. But still no dice.
    Frustrating! Is there any kind soul that could help me?
    Thanks a lot.

    Thanks a lot for the response.
    Yes, i am able to send emails from the att smtp server, but i really wanted to send them from my work (bluetie) smtp so they would show my work email addy.
    customer service at bluetie said they dont block the smtp server as far as he knew.
    any other thoughts?

  • 10.7 SMTP Mail Logs send email address- Assign Postmaster?

    How do you assign the SMTP mail log email address? I received an email this morning from another System Administrator (who previously administered this server), that he received the following message (I should be receiving these notifications, not him. To add: I was already the "Alert Email Address." Is there another location, where the SA's email address is set?):
    From: Mail Delivery System
    Subject: Postfix SMTP server: errors from server2.domain.com
    Date: September 23, 2013 6:05:43 AM EDT
    To: Postmaster
    Transcript of session follows.
    Out: 220 server.domain.com ESMTP Postfix
    In:  HELO XXX.XXX.XXX.XXX
    Out: 250 server.domain
    In:  STARTTLS
    Out: 454 4.7.0 TLS not available due to local problem
    In:  QUIT
    Out: 221 2.0.0 Bye
    For other details, see the local mail logfile

    I am having the same problem. I also can't send anything with attachments at all. Mail Just hangs there endlessly. This is a HUGE problem for me right now, and I don't feel like using entourage mail because it is not really reliable either. Does anyone know how to get a direct hold of Mac Telephone Support or engineering? I need to fix this problem like right now. We need to go back one level of code. Mr. Logic... This is my third day since I downloaded this code revision too, so please let me know what you find out, and I will do the same for you. I should have known better than to install this code without reading up on the issues and fixes.
    [email protected]
    Since downloading the 10.4.7 update I've experienced
    the mail problem wherein emails can't be sent to the
    smtp server. I've read all the discussions on all
    the various fora, and tried all the fixes (e.g.
    downloading the combo update instead, trashing mail
    preferences, repairing permissions, setting up mail
    again from scratch, looking for the SOCKS proxy,
    resetting the PRAM, etc. etc. etc.) but all to no
    avail.
    Note that in my case the SOCKS proxy checkbox was
    NEVER ticked/checked and so I couldn't uncheck it
    (which was the fix that seems to have worked for most
    people).
    Anyway... last night I thought would try setting the
    SOCKS proxy checkbox myself, so that I could then
    uncheck it. (you never know!)
    However, when doing this I noticed that any changes I
    made to the proxy checkboxes in the Network system
    preference panel ARE NOT SAVED.
    i.e. If I tick one or more of them and Apply the
    changes, then exit the Network Preferences panel, the
    relaunch the Network Preferences panel, they are all
    UNCHECKED again.
    Is this related to my Mail problem? Any clues?
    This is my 3rd day without the ability to send email
    from the Mail client in 10.4.7. Not good.
    Any help/suggestions appreciated.
    Mr Logic.
    Powerbook G4   Mac OS X (10.4.7)  

  • SMTP CRM Problem Send Email Message no. XS855

    Hi Experts,
    I try to send E-mail messages to external recipients, but getting following error message:
    My configuration in the Tx. SCOT is the next
    But when i try send emails to other domain distinct at local or external, the mail don´t is send but if try send it locally these if arrive.
    Any idea?
    Thanks and greetings.
    Jerry Salazar

    Hi,
    Do you still have a problem with sending email?
    If so, run report RSSODIAD.
    The error may be due to an inconsistency between the communication interface and the address management.
    When the report does not exist in your system, find the source code below:
    *& Report  RSSODIAD                                                    *
    *& This report checks existence of the company address for direct      *
    *& addresses the profile points to.                                    *
    & If company address does not exist the pointer in the profile will be
    *& deleted. A new company address will be generated on demand.         *
    REPORT  RSSODIAD MESSAGE-ID SO.
    INCLUDE RSSOCONS.
    tables: sopr, adrc.
    data: cnt like sy-tabix.
    data  lp_text(50).
    Check authority
    AUTHORITY-CHECK OBJECT 'S_OC_ROLE'
                    ID     'OFFADMI'
                    FIELD  ADMINISTRATOR.
    IF SY-SUBRC NE OK.
      MESSAGE I015.
      LEAVE PROGRAM.
    ENDIF.
    select single * from sopr.
    if sy-subrc = 0
    and sopr-diraddress ne space.
      select count( * ) from adrc into cnt
        where addrnumber = sopr-diraddress.
      if sy-subrc ne 0.
        update sopr set diraddress = space.
        if sy-subrc = 0.
         write: / 'Inkonsistenzen erfolgreich repariert.'(001).
          lp_text = 'Inkonsistenzen erfolgreich repariert.'(001).
        endif.
      else.
       write: / 'Keine Inkonsistenz gefunden.'(002).
        lp_text = 'Keine Inkonsistenz gefunden.'(002).
      endif.
    else.
      lp_text = 'Keine Inkonsistenz gefunden.'(002).
    endif.
    if not lp_text is initial.
      message s672(so) with lp_text.
    endif.

  • Send Email Report with Publisher? and  Job Manager...

    Hi, i have a great Doubt, i try to send Email with a report, first i try to send with Publisher, this is all configurations.
    Delivery Configuration
    !http://lh3.ggpht.com/_V2lpPpulbm0/Slwm-4TLiJI/AAAAAAAACag/xZ5w57zkRnM/s800/BI%20Publisher.PNG!
    Email Configuration
    !http://lh5.ggpht.com/_V2lpPpulbm0/Slwm_PKsjVI/AAAAAAAACak/baCeaA9kV_s/s800/BI%20Publisher2.PNG!
    Configuration Send Parameters
    !http://lh5.ggpht.com/_V2lpPpulbm0/SlwroVMXh4I/AAAAAAAACao/0-UaglX4N5Y/s512/configuracionparametros.PNG!
    But when i submit.. i have an error: "Must issue a STARTTLS comand first",*this error* means that Gmail Server not suporter?
    Do you know Some Mail Company to Rrealize some test.
    !http://lh3.ggpht.com/_V2lpPpulbm0/Slwm-8g_LJI/AAAAAAAACac/1CeWNWZLL18/s640/errorpublisher.PNG!
    But... It is neccesary configurate Job Manager? why is necessary configurate Publisher and Job manager, is the same? or Each one is in use for a different thing, all forms i post my Job Manager configuration too.
    !http://lh4.ggpht.com/_V2lpPpulbm0/Slwm-X7idrI/AAAAAAAACaU/eq_N_Rloqjs/s576/SchedulerConfiguration.PNG!
    thanks all and sorry for Spam Images(I think You comprehension better me)

    . i have an error: "Must issue a STARTTLS command first",this error means that Gmail Server not suporter?  yes gmail will not support to send emails from this......because our accounts are free...
    Try with your corporate mail ids it will work.
    It is neccesary configurate Job Manager? why is necessary configurate Publisher and Job manager, is the same? or Each one is in use for a different thing Bi Publisher will not use Job manager mail settings.....If yes ,why we need to configure the mail settings in BIPublisher itself??
    Two things are different......
    thanks,
    Saichand.V

  • When I try to send email from my iPad I get the message "A copy has been placed in your Outbox.  The sender address hplar45ATcomcastDOTnet was rejected by the server". Prior to this I have used the same process to send email for a year.

    I have been using the iPad for email for a year.  WIFI connection cannot be established for some reason, I am stuck on 3G.  I am sitting next to the WIFI router.
    Why can't I send email using my only email address hplar45ATcomcastDOTnet?
    Why can't I get a WIFI connection?
    What changed?
    Dan
    <Email Edited by Host>

    I can't answer why you are not able to connect to WiFi but I can tell you to try the basic things, turn WiFi off and on again, restart your iPad, reset network settings, reboot your router, forget your WiFi network and try again .....
    The issue with the email is probably a password issue. Make sure that your password is entered in the incoming mail server setting and in the outgoing mail server setting as well. The outgoing server setting can be accessed by tapping on the SMTP under the Outgoing Mail Server Setting and then tapping the smtp.comcast.net in the next window under the Primary Server Setting.
    The outgoing mail server setting will be in the first window when you tap on the Comcast account in the Mail settings.
    Look here for a few different web sites for help with the WiFi.
    http://www.google.com/search?q=troubleshoot%20wifi%20on%20iPad

  • Eem applet or script for sending email for syslog denies

    I am wanting to have my isr's send an email when a certain number of deny's occur on an ace.  So if i have a particular ace set up to log when tcp 3389 denied.  Then the eem applet or script would track when that deny entry happens.  When the deny hits on that entry reach three times, it will send an email alert.  The thing i am wondering about is how to set a variable within an event syslog pattern statement.  For instance, how do i say express a variable for the source ip/port in the below
    config-applet)# event syslog pattern "SEC-6-IPACCESSLOGP: list 198 denied tcp 201.198.71.51(38531) -> 212.184.81.52(3389)" occurs 3
    The source ip and port could rotate or change so i'd need to express that with some kind of variable.  How could that be done?(or is there a better approach altogether). 

    I put the below script in and it takes fine but does not send email alert.  Is there something more to do for configuring email sending? 
    event manager applet Intrusion-Tracking
    event syslog pattern "SEC-6-IPACCESSLOGP:.*-> 208.195.174.115\(3389\)" occurs 3
    action 1.0 mail server "173.16.7.2" to ".[email protected]" from ".eem@company1." subject ".intrusion_alert_from_c2900isr." body "Intrustion alert c2800isr"

  • How to create a notification subscription to send email for all alerts except exchange objects related alerts.

    Hi Team,
    We have notification subscription configured currently, which will send email notification for Central team for all alerts generated in SCOM. Recently we got complaint from messaging(exchange server) team, that the exchange related email notifications are
    going to other teams.
    How shall we exclude "All exchange 2010 entities" group from current subscription.
    Thanks,
    Dinesh
    Thanks &amp; Regards, Dinesh

    Hi
    There is no functinality to exclude objects in notifications. You would have to select everything that you want to be alerted on. Either you select all Groups, classes or split up the subscription per "Technology" like SQL, IIS etc. and select
    the corresponding MPs to be alerted on like all rules and Monitors.
    Probably selecting the classes would be the best option
    https://social.technet.microsoft.com/Forums/systemcenter/en-US/7e8a5d4a-1727-4448-a2d8-85950645e01a/notification-subscription-by-management-pack
    This might help also
    http://blogs.technet.com/b/kevinholman/archive/2008/06/26/using-opsmgr-notifications-in-the-real-world-part-1.aspx and
    http://myitforum.com/myitforumwp/2014/03/04/system-center-operations-manager-2012-r2-generating-notifications-by-management-pack/
    Cheers,
    Stefan
    Blog: http://stefanroth.net If my post helped you, please take a moment to vote as helpful and\or mark as an answer

Maybe you are looking for