Gmail settings to send OIM 11g Notifications

Hi
I would like to send custom email notifications when user is created in OIM11g. I am planning to use Gmail to send noitifications.
Below are the connection details I've given for Mail Server IT Resource.
Authentication : yes
Server Name : smtp.gmail.com:587
User Login : [email protected]
User Password : *************
But when i tried to test connection in IT Resource, it says "Could not establish the connection to the Mail Server."
I even tried with 465 port but no luck. Does anyone configured Gmail Server to send notifications(not using SOA server).
Thanks!

If you want to test just the mailing features then you can use Test Mail Server tool. It is very light weight component and easy to install.
http://www.toolheap.com/test-mail-server-tool/
Once Installed, open Mail Server IT Resource and provide values for Server Name and Authentication as No.
This should trigger you notifications for testing.

Similar Messages

  • Available attributes in OIM 11g notifications

    We have been using the new notifications templates in oim11g following the descriptions as given in the blog post below.
    http://fusionsecurity.blogspot.com/2011/07/oim-11g-notifications.html
    This is how an event is specified:
    <?xml version='1.0' encoding='UTF-8'?>
    <Events xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../notification/metadata/NotificationEvent.xsd">
    <EventType name="ApprovalTaksOpenEvent">
    <StaticData>
    <Attribute Name="usrLogin" DataType="X2-Entity" EntityName="User"/>
    </StaticData>
    <Resolver class="oracle.iam.request.notification.CustomResolver">
    <Param Name="usrLogin" DataType="X2-Entity" EntityName="Request"/>
    </Resolver>
    </EventType>
    </Events>
    Basically we found that wat is in the StaticData part is show in the notification template interface as Available data (in the above example all user attributes are shown). Now my question is it somehow possible to have any attribute show in the Available Data section of an Notification Template. It would be create if "business" users don't have to "guess" which placeholders are available for a certain notification template. I already tried the variant below but it did not have the desired result.
    <StaticData>
    <Attribute Name="somePlaceHolder" DataType="String"/>
    </StaticData>
    Greetings
    Bas
    Edit-> As per documentation it should be possible to do this with the non static data, I will investigate it furter
    Edited by: bsteen on Apr 6, 2012 7:11 AM

    You can open the jar file with a decompiler and just view the NotificationResolver class and see what attributes are being sent to it.
    -Kevin

  • Enable SMTP debug for OIM 11g notifications

    Hi,
    OIM 11g here. I am trying to set up reset password notification, but no way. I would like to know how to enable the debug mode to see what SMTP commands are issued towards the mail server. I have already trying setting to TRACE:32 the logger class oracle.iam.notification, but didn't help
    thanks in advance.
    Alex

    Rajiv,
    that's exactly what I have tried, i created an IT Resource (Mail server type) with authentication=false, no user/password (the server allows unauthenticated connections) and the hostname of the SMTP server (reachable, no firewall in between). The IT Resource name is the same one that i have specified in the system properties. That's all and it didn't work. No error, only something like "mail notification not successful". That's why I am asking a way to see the SMTP commands issued by OIM.

  • Sending email notifications in oim 11g approval flow dynamically

    Hi,
    I have 4 level approval workflow in oim 11g and developed custom composite to get all the approver ids and and assigning these ids into 4 variables.
    And used these variables in my custom 4 level sequential workflow. This workflow is working fine. Now I need to update this composite to send email notifications to the approver. So updated code to retrieve email ids and to store them in 4 more vairables. I cannot send all emails at a time thru the code. I need to send email only to the corresponding approver only when the flow reaches to that particular level.
    Subject and body will be same but the email address will vary.
    Can you please let me know the step by step process to implement notifications to these many levels.
    If you think, this is not correct approach (storing all email ids in variables and then sending notifications), please let me know correct approach.
    Thanks,
    Mary

    The way to do it would be to put your human task inside a while loop. This while loop would set a variable to the approver's userid and would continue till all the four approve it. In your human task you need just one approver and that would be the variable which the while loop sets.
    If you do it this way, then you can use the OOTB notification tab in the .task and select the 'Assignee' as the email notification receiver and you won't have to worry about getting the email ids as well.
    As for the current approach which you have, that is of using the sequential approvers in the human task, I haven't tried it, but just try setting the notification tab in the .task to 'Assignee' and event 'On Assignment'. That should do it as well.
    -Bikash

  • 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

  • Sending email notification  using email template in OIM 11g

    HI all
    I want to send an email to the user in OIM 11 g using API's
    I have created a email template using oim 11g's design console.
    now i want to access that email template from design console and send mail to user.
    previously in OIM 9i there was class com.thortech.xl.dataobj.util.tcEmailNotificationUtil;
    which was having utilities method like send-email etc.where we were able to access the email template from design console and send mail to user.
    I want such API's to send mail to user in OIM 11g.Iam unable to find the tcEmailNotificationUtil class in OIM 11g;
    Thanks in advance
    Bipin patil

    Thanks kuldeep
    I have one single question,.
    I have gone through the 11g docs but it is not present in the oim 11g docs any reasons for it .

  • Send Email Notification to Assignees in Role Approval Workflow in OIM 11g

    Hi Experts,
    I am using a Custom Workflow for Role Approval in OIM (11.1.1.5.4). It is a two stage Approval Process.
    First level Approval is Requester's Manager and Second Level Approver are Role Owners(Two users who are Role Owner in OIM).
    I want to send a Email Notification to this Assignees when a request is assignd to them . So i have done Email configurations in SOA. and i am receiving Mail in English.
    But, the requirement is the mail's language should be dependent on Locale of these users.
    for example if locale of Manager is German then Manager should recieve mail of Request assigned in German Language.
    and after manager Accepts the request, Request goes to Role Approvers where we have two User, So mail should go to this two users according to their Respective Locale.
    So how can i achive this????
    Thanks!!
    TJ

    One option would be to create views and then use the oob daily alert for each manager. If the number of managers is too much, then you should consider a custom timer job. 
    Your suggested approach is possible, but has potential issues in execution. I'd suggest the timer job first.
    Andy Wessendorf SharePoint Developer II | Rackspace [email protected]

  • OIM 11g: Adding a new tag to notification template

    Hi:
    OIM 11g comes with some pre-defined notification templates, like 'Generated Password Template', 'Reset Password Template'.
    You can see those thru the admin console, System Management, Notifications.
    I would like to add a new Tag to one of those notifications, like 'Generated Password'. It currently includes the User Login and Password. I would like to include the User Name to the notification Body.
    Can I do this?? How can I accomplish this??
    I try to edit the template, and in the documentation, they mention the Event Name and Available variables. I don't see this 'Available Variables' to select from when I edit the notification template.
    I am using OIM 11g 11.1.1.5.
    Thank you for your help..

    Modify the OOTB notification Template for including a few extra attributes
    -Identify the template and the event type which you want to modify. For example let’s assume we will modify the OOTB ‘Request Creation’, the corresponding xml for this event type is in the following MDS path:
    \metadata\iam-features-request\notification\RequestCreationEvent.xml
    Note: The path as specified in the OIM11G documentation might be incorrect
    -Modify this xml to point to a custom resolver class as follows:
    <?xml version='1.0' encoding='UTF-8'?>
    <Events xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../notification/metadata/NotificationEvent.xsd">
    <EventType name="RequestCreation">
    <Resolver class="com.iam.notification.CustomNotificationResolver">
    <Param Name="Request" DataType="X2-Entity" EntityName="Request"/>
    </Resolver>
    </EventType>
    </Events>-Import the xml back to the MDS database
    -Create a jar (custom resolver class) and a plugin.xml, bundle them up as a zip and register the plug-in using ‘ant/API’s’ as you want
    -Modify the OOTB notification templates as required
    -Send email to verify if your changes are being reflected
    You can create your own customized templates based on the OOTB one but the ‘Resolver Class’ would not be able to pick up this new template because the only purpose of the resolver class is to override a couple of methods (‘getAvailableData’ & ‘getReplacedData’), so that you can add some extra attributes to be read in your template, but the ‘Template Name’ remains the same as it is hard-coded.
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    import oracle.iam.notification.impl.NotificationEventResolver;
    import oracle.iam.notification.vo.NotificationAttribute;
    public class CustomNotificationResolver implements NotificationEventResolver {
         public List<NotificationAttribute> getAvailableData(String eventType, Map<String, Object> params) throws Exception {
              return null;
         public HashMap<String, Object> getReplacedData(String eventType, Map<String, Object> params) throws Exception {
              HashMap<String, Object> resolvedData = new HashMap<String, Object>();
             resolvedData.put("requestId", params.get("RequestId"));
             resolvedData.put("requestType", params.get("RequestType"));
             resolvedData.put("userId", params.get("UserId"));
             resolvedData.put("userName", params.get("Name"));
             resolvedData.put("baseUrl", params.get("BaseURL"));
             resolvedData.put("myCustomField1", "myCustomField1");
             resolvedData.put("myCustomField2", "myCustomField2");
             resolvedData.put("myCustomField3", "myCustomField3");
              return resolvedData;
    }Credits to Sunny for coming up with the solution. Since he seems busy, I took the liberty of posting his solution here.
    HTH,
    BB

  • OIM 11g - Mail Notification for multiple resources

    User will be provisioned to 5 target system through access policies.So instead of sending 5 different mail notifications to the manager on the Create User task about the account creation, is it possible to send one consolidated mail about the provisioned resources in OIM 11g.

    Hi,
    How abt for the following requirement for sending single mail for multiple resources provisioned.
    We have 3 Access Policies which is defined as follows.
    1) Policy 1 -> R1,R2,R3 Resources
    2) Policy 2 -> R3,R5 Resources
    3) Policy 3 -> R1,R4 Resources
    In such a case we will not be able to put dependencies on Resources and adding a task for sending email.

  • 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

  • Custom Event Notification (email) for Approval Tasks in OIM 11g

    Hi,
    how to create event notification for approval tasks in OIM 11g. I mean how to send email notification to user who sholuld accept or reject approval task?
    best
    mp
    Edited by: J23 on 2011-05-30 04:08

    Here is the documentation http://download.oracle.com/docs/cd/E21764_01/integration.1111/e10224/bp_notif.htm#SOASE548
    Search for SOA BPEL Email Notifications for more information:
    http://soa-bpel-esb.blogspot.com/2010/01/email-notification-in-bpel.html
    http://download.oracle.com/docs/cd/B31017_01/core.1013/b28764/bpel013.htm
    There are many more search links that can help you out.
    -Kevin

  • OIM 11g Approval Workflow Notification questions

    Hello.
    I am working with an OIM 11g approval workflow. The workflow will flow from one group to another, and if one user in each group approves it, it is approved. Because I assigned it to groups, the notifications are going to every user in each group.
    Is it possible to send a notification to only a single user within a group, instead of everyone? Does auto claim do this?
    Is it possible to send a different notification if the ApprovalTask is rejected versus approved?
    Thanks.

    If I understand correctly, you want to send the notification only to the user who has approved the request and not to all in the group. You can do it by NOT using the notification tab in the .task but by using EmailNotificationService after the .task in BPEL. There you can read the data from payload on who approved the request and can send the notification only to that user. Same way for rejects. You can configure that.
    1. After your .task completion you can have a decision box which can check the value for 'outcome' and then direct it to appropriate path for appropriate notification.
    or
    2. Based on outcome you can set the template in a variable and then in the notificationservice use that variable.
    -Bikash

  • 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

  • Email Notification  API in OIM 11g

    Hi,
    I would like to send an email in my schedule task.The schedule task is written using 11g APIs.I am planning to use tcEmailNotificationUtil for sending emails.But tcEmailNotificationUtil class expects tcDataProvider and I couldnt get the handle to this,as my schedule task is extending TaskSupport and not the SchedulerBase task?.Is there any way to solve this problem?.I will be happy if i get a sample code to send a email notification using 11g API.Thanks.

    Below post will be helpfull
    Re: 11g- Send mail through scheduler
    this worked for me
    Regards
    Vm

Maybe you are looking for

  • Memory problem if OLE-object references to WMF files

    Hi there, I have a report with an OLE object containing WMFs. The graphic files are variable and their name is loaded from the database during runtime (path + filename). Running the report leads to 185 pages, each one containing a different WMF. If I

  • Changes dont take effect in the view

    Hi, I am modifying the UI-Table which is editable. What has to be done to show the current new content of the table on the view. There is a calculation and the result will be inserted into the cost column. Cleary how can I see that the changes take e

  • Batman sign effect please help

    Ok in this tutorial at 1:50 there is a very cool way that the words reveal them selves with fire inside of the batman logo. It would be fantastic if someone could tell how to do that effect..... Some one please help me Maybe explain to me how it is d

  • "Error 5" message when starting AE App

    Dear Community, I need your HELP, I downloaded AE but when I try to run it, it gives me a "Error 5" message -  I tried installing and reinstalling (with restart of the computer in between) but the error remains... HELP  & Thanks

  • TDSCertificate print preview error in j1incert transaction code

    Hi,     I configured ADS in my development system.All these tests are working fine : 1)FP_CHECK_DESTINATION_SERVICE,2)FP_CHECK_DESTINATION_SERVICE  3)FP_PDF_TEST_00   4)FP_TEST_00. I created output device ZPDF with device type : PDF1 :PDF ISO Latin-1