<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div>Hi Jason,<br></div><div><br></div><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><div dir="ltr">Thanks for this, it helps understand the general notifier a little better. I am not wanting to get admin emails but I want the system to email the students/faculty/staff when their accounts are provisioned.<div><br></div><div>Can I use a separate attribute besides the standard mail attribute. Currently in Midpoint, all the users will be imported from our student system and their official email address will be the provisioned mailbox here but I am also mapping a secondary attribute labeled otherMailbox which will contain their personal email address. This is the email that the notification needs to go to since they would not have access to their official school mailbox.</div></div></blockquote><div><br></div><div>Very simple to configure in midPoint, if you have that attribute already populated.<br></div><div>This is my example, just tested (and working):<br></div><div><br></div><div>      <handler><br>         <accountPasswordNotifier><br>            <name>New accounts in midPoint managed systems</name><br>            <operation>add</operation><br>            <status>success</status><br>            <recipientExpression><br>               <script><br>                  <code>basic.getExtensionPropertyValue(requestee, <strong>'http://evolveum.com/my</strong>', '<strong>otherMailbox</strong>')</code><br>               </script><br>            </recipientExpression><br>            <subjectExpression><br>               <script><br>                  <code>"[IDM] New account created by IDM for user: " + requestee?.getName()?.getOrig()</code><br>               </script><br>            </subjectExpression><br>            <transport>mail</transport><br>         </accountPasswordNotifier><br>      </handler></div><div><br></div><div>The notification is configured for sending passwords for new accounts, which have been successfully created (notice the operation and status filters).<br></div><div><br></div><div>Just check/replace the <strong>bold</strong> strings (your schema extension namespace and attribute name).<br></div><div><br></div><div>For standard attributes such as EmailAddress, this would have been even simpler:<br></div><div><br></div><div><code>requestee.getEmailAddress()</code><br></div><div><br></div><div>Regards,<br></div><div>Ivan<br></div><div>-- <br></div><div><span name="x"></span>  Ing. Ivan Noris<br>  Senior Identity Management Engineer<br>  evolveum.com<br>  ___________________________________________<br>           "Idem per idem - semper idem Vix."<span name="x"></span><br></div></div></body></html>