BPEL 11g Email Notification - Multiple SMTPs

Hi All
We have a requirement to send emails through alternative SMTPs based on content via BPEL. In 10g BPEL, we could do that based FromAccount configuration in nl_emails.xml. What is the equivalent steps for creating different FromAccount configuration in 11g BPEL?
Thank you for your support.
Regards
Prasad Jayakumar

Hi All
There is something missing in 11g what was available in 10g
In 10g, we were able to refer the following entire configuration details through FromAccount of BPEL Email Activity
nl_emails.xml
<EmailAccount>
<Name>Default</Name>
<GeneralSettings>
<FromName>Oracle BPM</FromName>
<FromAddress>[email protected]</FromAddress>
</GeneralSettings>
<OutgoingServerSettings>
<SMTPHost>yourdomain.com</SMTPHost>
<SMTPPort>25</SMTPPort>
</OutgoingServerSettings>
Now In 11g, We are able to set only EmailFromAddress, EmailReplyToAddress & EmailRespondToAddress which is more about GeneralSettings and not different OutgoingServerSettings
My initial request "BPEL 11g Email Notification - Multiple SMTPs" is not yet resolved. Please provide any further inputs. Thank you.
Regards
Prasad Jayakumar

Similar Messages

  • OIM 11g - email notification

    Dear All,
    I need to create quick POC that will involve provisioning to multiple resources during OIM profile creation. One consolidated e-mail notification should be sent as a result.
    1. I never used simulated/fake/manual resource. If you used it in the past maybe you can guide me through as for how to create it?
    2. How to make sure that centralized e-mail is sent at the end (all resources are provisioned)?
    I was planning to create default role or use ALL USERS role that will be attached to access policies for different resources. When HR record comes, OIM user profile is created and default role (ALL USERS, for example) is assigned.
    This role will trigger execution of access policies that will create accounts on the target platforms.
    My challenges are:
    1) ONE consolidated email notification upon SUCCESSFUL completion (default event that somehow should be triggered maybe by job?, custom task that sets the flag in custom table upon successful completion? or maybe I overengineering .....)
    2) send user to manual queue if creation of the user account on any of the target resources fail.
    If you can provide any guidance as for how this could be done I would appreciate it very much
    Thank you for your time

    1. The process is outlined here: http://iamreflections.blogspot.com/2010/08/oim-howto-leverage-standard-connector.html
    2. There are two parts to this question.
    The first part is to figure out the triggering event. If you know what resource will be last provisioned you can simply put a task that is fired on completion of the final provisioning task that then checks the result of all other resources using the APIs. If you don't know which resource will be last you could let the final provisioning task in each resource have a follow up task that sets a variable on the user form, then have another folllow up task that checks if all values are set and if so do the appropriate thing (if not just exit)
    Traditionally you would assign a task to the sysadmin using the API if you wanted a manual intervention (http://otndnld.oracle.co.jp/document/products/id_mgmt/idm_904/doc_cd/javadocs/operations/Thor/API/Operations/tcProvisioningOperationsIntf.html#reassignTasksToUser(long[], long)) but there is the new concept of queues that I actually haven't worked with (http://otndnld.oracle.co.jp/document/products/id_mgmt/idm_904/doc_cd/javadocs/operations/Thor/API/Operations/tcQueueOperationsIntf.html) that may be what you are looking for.
    Email sending tends to be easier using Javamail than trying to leverage the email framework once you want something that isn't very basic.
    Hope this helps
    /Martin

  • Email notification to SMTP with Authentication

    Sending Email Notification: What tags do you add to ns_emails.xsl to configure it for an smtp server that requires authentication? I've tried many things but none of them have worked, I looked all over the oracle forum and found a user who posted the same problem but was not given an answer.
    Currently I'm using the following settings
    <GeneralSettings>
    <FromName>aiatestmail</FromName>
    <FromAddress>[email protected]</FromAddress>
    </GeneralSettings>
    <OutgoingServerSettings>
    <SMTPHost>smtp.mail.yahoo.com </SMTPHost>
    <SMTPPort>587</SMTPPort>
    <authenticationRequired>true</authenticationRequired>
    <UserName>aiatestmail</UserName>
    <Password encrypted="false" xmlns:ns0="http://xmlns.oracle.com/ias/pcbpel/NotificationService">*******</Password>
    </OutgoingServerSettings>
    and am getting
    NotificationService (sendEmailNotification) (faulted)
    [2005/07/01 18:11:19] "{http://xmlns.oracle.com/ias/pcbpel/NotificationService}NotificationServiceFault" has been thrown. Less
    <NotificationServiceFault xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService">
    <part name="faultInfo">
    <faultInfo>530 authentication required - for help go to http://help.yahoo.com/help/us/mail/pop/pop-11.html</faultInfo>
    </part>
    </NotificationServiceFault>
    I've also tried without sucess:
    -without the authenticationRequired, email, and Password tags
    -using the tags <email>aiatestmail</email> <Password>cb14373</Password> instead of UserName, Password in the example
    -Using another email provider (netscape.net address & smtp server)
    Thanks,
    Craig

    Additional note:
    I haven't been able to test it on a server without authentication. Does anyone know a smtp server that allows this?
    Also here is the full text of my config flie:
    <EmailAccounts xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService">
    <EmailAccount>
    <Name>AddressChangeReviewerNotification</Name>
    <GeneralSettings>
    <FromName>aiatestmail</FromName>
    <FromAddress>[email protected]</FromAddress>
    </GeneralSettings>
    <OutgoingServerSettings>
    <SMTPHost>smtp.mail.yahoo.com </SMTPHost>
    <SMTPPort>25</SMTPPort>
    <authenticationRequired>true</authenticationRequired>
    <email>aiatestmail</email>
    <Password>********</Password>
    </OutgoingServerSettings>
    <IncomingServerSettings>
    <Server>pop.mail.yahoo.com </Server>
    <Port>110</Port>
    <Protocol>pop3</Protocol>
    <UserName>aiatestmail</UserName>
    <Password encrypted="false" xmlns:ns0="http://xmlns.oracle.com/ias/pcbpel/NotificationService">***********</Password>
    <UseSSL>false</UseSSL>
    <Folder>Inbox</Folder>
    <PollingFrequency>600</PollingFrequency>
    <PostReadOperation>
    <MarkAsRead/>
    </PostReadOperation>
    </IncomingServerSettings>
    </EmailAccount>
    <EmailAccount>
    <Name>TaskServiceReceiving</Name>
    <GeneralSettings>
    <FromName>Oracle BPM</FromName>
    <FromAddress>[email protected]</FromAddress>
    </GeneralSettings>
    <OutgoingServerSettings>
    <SMTPHost>dlsun4254.us.oracle.com</SMTPHost>
    <SMTPPort>225</SMTPPort>
    </OutgoingServerSettings>
    <IncomingServerSettings>
    <Server>pop.mail.yahoo.com</Server>
    <Port>2110</Port>
    <Protocol>pop3</Protocol>
    <UserName>bpm2</UserName>
    <Password ns0:encrypted="false" xmlns:ns0="http://xmlns.oracle.com/ias/pcbpel/NotificationService">welcome</Password>
    <UseSSL>false</UseSSL>
    <Folder>Inbox</Folder>
    <PollingFrequency>1</PollingFrequency>
    <PostReadOperation>
    <MarkAsRead/>
    </PostReadOperation>
    </IncomingServerSettings>
    </EmailAccount>
    </EmailAccounts>

  • Oracle bpel 11g email polling ?

    could oracle bpel 11g support email polling(checking inbox of an email account for a defined period time) ?
    try to google and find some tutorial to enable email polling in bpel 10g.
    but try to implement it and can't find folder BPEL in <SOA_HOME>
    now i can utilize email polling from fusion middleware Oracle Service Bus. but it would be more suitable if i can do the polling from my bpel instance.
    if someone has experience in this, pls share and will be very appreciated it.

    using the tutorial from amis.nl, how can i get the sender, subject (email header) from the email that i'm polling ? with an empty body message email.
    i'm facing issue the xml that ums adapter poll and send to the bpel process is only the message body part. can not get the header part.

  • OIM 11g - Email Notifications configured in human task is not working

    Hi,
    My requirement is to send email to the assignee whenever a request is assigned to the user. I created a custom bpel workflow and configured email notiifcation in the human task for the status 'assign'. I have configured Email driver with following properties:
    Sender Addresses = <[email protected]>
    Default Sender Address = <[email protected]>
    Outgoing Mail Server = <Exchange server host>
    Outgoing Mail Server Port = 25
    Outgoing Mail Server Security = none
    Outgoing Default From Addr = <[email protected]>
    I have also set the Notification Mode to 'Email' in Workflow Notification Properties.
    However when a request is assigned to the user, email notifications are not sent.
    I do not see any errors in the logs. In Enterprise Manager console I navigated to SOA Infrastructure Home > Human Workflow Engine > Notification Management and I could see outgoing email notifications corresponding to the workflow instance with the status showing 'Sent'.
    Also the Exchange server that is being used has already been tested for provisioning emails from OIM and it works fine for provisioning.
    Any pointers/troubleshooting tip to resolve this issue is greatly appreciated.
    Regards
    Deepa

    Hi,
    My requirement is to send email to the assignee whenever a request is assigned to the user. I created a custom bpel workflow and configured email notiifcation in the human task for the status 'assign'. I have configured Email driver with following properties:
    Sender Addresses = <[email protected]>
    Default Sender Address = <[email protected]>
    Outgoing Mail Server = <Exchange server host>
    Outgoing Mail Server Port = 25
    Outgoing Mail Server Security = none
    Outgoing Default From Addr = <[email protected]>
    I have also set the Notification Mode to 'Email' in Workflow Notification Properties.
    However when a request is assigned to the user, email notifications are not sent.
    I do not see any errors in the logs. In Enterprise Manager console I navigated to SOA Infrastructure Home > Human Workflow Engine > Notification Management and I could see outgoing email notifications corresponding to the workflow instance with the status showing 'Sent'.
    Also the Exchange server that is being used has already been tested for provisioning emails from OIM and it works fine for provisioning.
    Any pointers/troubleshooting tip to resolve this issue is greatly appreciated.
    Regards
    Deepa

  • OIM 11g - Email Notification with direct link to Approval Task Details

    Hi,
    We wanted to send email notifications to approver with direct link to the approval task details screen from which the user can either approve or reject the request. In OIM 11g OOTB Notification templates such as Request Creation contains the direct link to Request Detail screen which is something like
    http://localhost:14000/oim/faces/pages/Self.jspx?OP_TYPE=LOOKUP;E_TYPE=MY_REQUEST&T_ID=65
    Wondering if there is something similar for Approval Task Details screen as well.
    Any kind of help or suggestion is greatly appreciated.
    Thanks,
    Deepa

    If at all you cannot get the direct link for approve/reject then try the actionable email from SOA. Once you have that configured the emails gets approver/reject links so that approvers can directly approve/reject the task from email. If that works for you then you can look at the format of those links in the email and deduce what you need the url as.
    HTH,
    BB

  • Help required related with OIM 11g Email Notification

    Experts,
    I have a requirement where I have to pass the User's Password through autogenerated email.
    But I have a scenario where I dont have to provision any target resource for users..so i dont have access to Notification Tab for such kind of users.
    I thought of writing a custom Event Handler to send email using custom code.
    But IN OIM 11g , I found that Inside, Advanced->Notification Template-> Create User Self Service Notification … is getting triggered with UserID: $userLoginId<br> and its woking fine.
    But once I added Password: $password<br> In the same template, its not providing me the password.
    So I think the Parameters associated with this Event "Self register user" does not have $password.
    Is there any way to check which all parameters can be accessed in these Events?
    Also, what is the best way to send password to users who does not any target resources associated?
    Thanks,
    Regards,
    J

    Hi I am trying to get the Create User Self Service Notification template working but for some reason I get an error in the log saying unexpected error occured while sending notification. and I am not recieving any mails..I have done the following steps
    created an IT resource with the name same as the value of Email Server property
    have made the value of RequestNotification property 1
    is there anything else I need to do..
    Can you also give some details as to how you have created the IT Resource...is the authentication true/false if true does any username and password do..
    Thank you

  • OIM 11g email notification(request submitted, approved, reassigned, etc)

    Dear All,
    How to emplement e-mail notifications in 11g?
    It looks like there some notification templates available. But how those could be tied to different stages of the request? (request submitted, approved, reassigned, etc). Is there any authomation available or everything should be created now manually in the workflow? SOA suite has notification service. I suspect this is what should be used now.
    How notification templates are used in the workflow?
    If you can provide steps and/or example this would be very helpful.
    Maria

    I suspect article ID 457836.1 is valid for 11g as well. (FYI)

  • Email Notification using SMTP from FIM to O365

    how to perform that activity.

    how to perform that activity.
    Should be possible by configuration as described here:
    How to Allow a Multi-function Device or Application to Send E-mail through Office 365 Using SMTP
    I haven't tested it yet. I know that Approval process won't work.
    If you found my post helpful, please give it a Helpful vote. If it answered your question, remember to mark it as an Answer.

  • Email notifications for multi level approvals in OIM 11g

    Hi,
    I am using OIM 11g.
    And in my current environment, we have 4 levels of approvals and need to send a different type of email notification in every level to the corresponding approver.
    Can you please let me know how to implement this in SOA composite. first two approvals are sequential and the remaining two approvals are parellel.
    Thanks,
    Swathi

    You have to use combination of switch and if task. In if block you have provide the condition. This conditon will be predicted over some variable. This variable you will set in payload where approver will be decide.
    You can have multiple mail notification or you can set the body content dynamically(set the variable data in payload where the approver is being manipulated) use this variable in body content.
    Kuldeep

  • Problem in sending Email notification from BPEL

    Hi,
    i am trying to send email from BPEL using Email activity.Using SoaSuite10.1.3.3
    i configured the ns_emails.xml file properly as below.
    when i run the process, it is executing fine without any error.
    but i am not receiving any mail.
    even i applied patch set p6148874 also.
    below pasted is the ns_emails.xml file.
    <EmailAccount>
    <Name>Default</Name>
    <GeneralSettings>
    <FromName>Oracle BPM</FromName>
    <FromAddress>[email protected]</FromAddress>
    </GeneralSettings>
    <OutgoingServerSettings>
    <SMTPHost>domain.com</SMTPHost>
              <SMTPPort>25</SMTPPort>          
    </OutgoingServerSettings>
    <IncomingServerSettings>
    <Server>domain.com</Server>
    <Port>110</Port>
    <Protocol>pop3</Protocol>
    <UserName>ckommalapati</UserName>
    <Password ns0:encrypted="false" xmlns:ns0="http://xmlns.oracle.com/ias/pcbpel/NotificationService">Chandu@1205</Password>
    <UseSSL>false</UseSSL>
    <Folder>Inbox</Folder>
    <PollingFrequency>1</PollingFrequency>
    <PostReadOperation>
    <MarkAsRead/>
    </PostReadOperation>
    </IncomingServerSettings>
    </EmailAccount>
    Even i tried adding <AuthenticationRequired> details to the above and its not working.
    i restarted the server after modifications.
    i tried pinging the SMTP server of my domain, and its connecting successfully.
    Could any one suggest me the solution for this problem.
    is there anything extra need to be configured for this..?
    Thanks in advance.

    Hi, ravigali :
    Following are some steps I take to set Email notification in BPEL:
    A important thing: get the right parameters of your Email server.
    Step:
    1. Alter ns_emails.xml (in D:\soft\SOASuite\product\10.1.3.1\OracleAS_1\bpel\system\services\config directory), an example is as following:
    <EmailAccounts xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService"
    EmailMimeCharset=""
    NotificationMode="EMAIL">
    <EmailAccount>
    <Name>Default</Name>
    <GeneralSettings>
    <FromName>*Your Name*</FromName>
    <FromAddress>*Your Email: ***@***.com*</FromAddress>
    </GeneralSettings>
    <OutgoingServerSettings>
    <SMTPHost>*mail.***.com*</SMTPHost>
    <SMTPPort>25</SMTPPort>
    </OutgoingServerSettings>
    <IncomingServerSettings>
    <Server>*mail.***.com*</Server>
    <Port>993</Port>
    <Protocol>IMAP</Protocol>
    <UserName>***@***.com</UserName>
    <Password ns0:encrypted="false" xmlns:ns0="http://xmlns.oracle.com/ias/pcbpel/NotificationService">***</Password>
    <UseSSL>true</UseSSL>
    <Folder>Inbox</Folder>
    <PollingFrequency>1</PollingFrequency>
    <PostReadOperation>
    <MarkAsRead/>
    </PostReadOperation>
    </IncomingServerSettings>
    </EmailAccount>
    </EmailAccounts>
    Note: the detail explain of every XML element is in http://download.oracle.com/docs/cd/B31017_01/integrate.1013/b28982/service_config.htm#sthref324 (2.2.1 Configuring the E-mail Server)
    2. Add the following property to wf_config.xml (in D:\soft\SOASuite\product\10.1.3.1\OracleAS_1\bpel\system\services\config directory):
    <property name="oracle.bpel.services.notification.publisher_interval" value="1" />
    Then the BPEL server will send notification every 1 minute. More detail about this configuration to see http://download.oracle.com/docs/cd/B31017_01/integrate.1013/b28981/notif.htm#sthref1678 (14.2.1 Reliable Notification Service).
    3. Re-start all SOA Suite services. (opmnctl startall)
    After the BPEL process invoke any E-mail notification activity and if we can’t receive any E-mail notification, we need to check the BPELNOTIFICATION table (ORABPEL database schema). And delete any error data in this table, then correct the E-mail notification setting through above steps and re-start all SOA Suite services.
    Thanks,
    Melody

  • Email Notification not working Oracle BPEL 10.1.3.1.0

    I'm not able to send out email notification using Email process activity from Component Palette.
    These are the steps that I've followed:
    1. Email/SMTP server configuration details entered in the <SOA_oracle_home>\bpel\system\services\config\ns_emails.xml.
    2. Change the value for EmailAccounts tag NotificationMode = "Email"
    3. restarted JDeveloper and add Email process activity to the bpel process diagram
    4. Entered From Account (EmailAccount Name), To, CC, Reply To, Subject, Body in the Email activity dialog box.
    5. Saved and deployed BPEL process.
    When tested, the email is not sent out, although no errors are shown on Audit tab of the BPEL instance.
    I've tested the connection to the SMTP host from local server on port 25, it works.
    Please advise what I might be missing to get email notification to work
    Thanks very much for all the help :)

    Thanks Charles for all the advise....
    Here is the current status of email notification....
    I could get Manual Workflow task notification emails to work, but the other emails which are setup in the BPEL process using Email activity are still not getting sent out.....
    Please advise what should be the value in the "From" attribute, I've tried using both the Email Account Name as in ns_emails.xml and the valid email address also, but nothing worked.....need your advise to get this working....thanks a lot

  • Fault Policies in soa 11g with email notification

    SOA 11.1.1.3
    I want to implement faulpolicies.xml and send email notification. (for binding ,remote fault after certain retries).Can I use email activity in BPEL catch block for this , what should I add ,in my faultpolicies.xml to trigger email activity
    <?xml version="1.0" encoding="UTF-8"?>
    <faultPolicy version="2.0.1" id="FaultPolicyName"
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns="http://schemas.oracle.com/bpel/faultpolicy"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <Conditions>
    <faultName xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    name="bpelx:bindingFault">
    <condition>
    <action ref="ora-retry"/>
    </condition>
    </faultName>
    <faultName xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    name="bpelx:runtimeFault">
    <condition>
    <action ref="ora-retry"/>
    </condition>
    </faultName>
    </Conditions>
    <Actions>
    <Action id="ora-retry">
    <retry>
    <retryCount>8</retryCount>
    <retryInterval>2</retryInterval>
    <exponentialBackoff/>
    <retryFailureAction ref="send-notification"/>
    </retry>
    </Action>
    </Actions>
    Also, can anyone please tell which is a better option - using email activity or custom java code in fault
    policies.xml.
    Thanks

    Like Oraacler suggested, you can definitely rethrow the fault to BPEL to send the notification. However, your BPEL fault handlers will become pretty tedious when you have to check for error types in your catch block to retrieve the message and type the e-mail. On top of that, if you have multiple catch blocks in a single process or multiple processes spec'd to throw similar notifications, you will have to add a lot of redundant code. You can definitely externalize the notification to a different process that handles all e-mails, but even that does not take out having multiple invokes on the faulted process.
    Having a fault handler Java class to handle global faults allows you to externalize and standardize exception management and also dramatically minimizes BPEL code. In your Java class you also get the API's to access a lot more information then you will in BPEL allowing you to provide detailed messages. This has been my choice to account for any error that should not happen on a regular basis (binding and remote).
    The only drawback of the Java class is the development piece which can take forever since you have to restart the server after every little change. There is however a way to write a client java class for development on JDeveloper which directly connects to the weblogic-soa dehydration store to look up an instance with a fault and retrieve the fault message. You can then use that message to do your testing/development before finalizing it and moving it to the server.
    Depends on what you decide, let us know if you run into any more constraints and we can definitely try to help you.
    Thanks and good luck!

  • BPEL email Notification Service - Can it support protocol other than pop3

    Hi,
    I wanted to confirm can BPEL email Notification Service support protocol for email other than pop3, such as mapi
    Thanks,
    Sachin Sutar

    Currently only pop3 and imap are supported for incoming mail and SMTP for sending email.

  • Can I setup multiple SMTP servers / emails with one IMAP servers on the iPh

    All my email arrives at one place, on one IMAP server. However I have 2 email addresses, and need to use a different SMTP server for each one. How to setup this on the iPhone? This is what I considered so far:
    1. I don't see how to enter multiple addresses for the same account, and map each address to a SMTP server.
    2. If I create multiple accounts, I have to enter multiple IMAP server, and the iPhone doesn't let me enter the same IMAP server information for different accounts.
    3. I could create a second account with a dummy IMAP/POP server, and a real SMTP server. But then most likely if I respond to mails that arrive on my IMAP server (1st account), Mail will always use my 1st email address when responding. Instead I'd like it to automatically pick as From the To address of the mail I am responding to (as the desktop Mail.app does).
    Alex

    If you have multiple SMTP servers available, you can select from one of the available SMTP servers for a particular account.
    After you've entered the SMTP server for the first account when creating the 1st account and you've entered the SMTP server for a 2nd account when creating the 2nd account, you'll have both SMTP servers available to use with either or both accounts.

Maybe you are looking for

  • Clock and multitasking

    I have a 2nd gen iPod Touch and after 3 weeks of frustration with a Droid-X, I returned the Droid and bought an iPhone 3GS. Both the iPhone and iPod are running on IOS4. I didn't think about multi-tasking on the iPhone until today when I discovered e

  • Could not activate EDGE...

    I don't know why, but my iPhone cannot connect to the EDGE network. I have a very strong signal, and I can surf using my home wireless network. On the go, however, i cannot access things like youtube, and safari browser. I called AT&T about it... I t

  • Cannot open Excel file over LAN

    I am trying to open an Excel file that is saved on the desktop of my iMac, from my iBook, but keeping getting a message that the file cannot be found. This seems like a strange message because I connected to the iMac over our home network, mounted my

  • Accessing BTMM via Apple ID

    Mac A has BTMM enabled. Also enabled is the ability to access via apple id. In order to enable this it was necessary to provide the apple id and password. When I access Mac A from Mac B and select the via apple id option, I am asked for the apple id

  • Video on top of picture

    I'm not sure if the picture erased the text I'd already written so I'll just type it again. I make videos for YouTube and I was wanting to have my video play on top of a background image as shown above. So the video would be playing in the top left c