<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">I see. So, these should be - in fact -
      periodically generated reports, sent via mail?<br>
      <br>
      It is not implemented in the current version of midPoint.<br>
      The exact implementation would depend on various factors. <br>
      <br>
      For example, in case of password expiration notifications, it
      could be advantageous to create a new type of event ("your
      password is about to expire"), and use existing notification
      mechanism to deliver it. <br>
      <br>
      In case of daily/weekly/monthly reports, maybe a direct code for
      mail delivery could be inserted into reporting module... And there
      would be a periodic reporting task that would simply create the
      report PLUS deliver it via mail. But, this could work only if
      there would not be necessary to create e.g. hundreds of reports
      (for each user / org unit manager / etc). In that case, the report
      generation would need to be parameterized somehow.<br>
      <br>
      Pavol<br>
      <br>
      <br>
    </div>
    <blockquote
      cite="mid:ema0a8b007-5a7d-4abe-9a26-28e166827d6c@rpudil-dell7440"
      type="cite">
      <style id="eMClientCss">
<![CDATA[
blockquote.cite { margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #cccccc }
blockquote.cite2 {margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #cccccc; margin-top: 3px; padding-top: 0px; }
.plain pre, .plain tt { font-family: monospace; font-size: 100%; font-weight: normal; font-style: normal; white-space: pre-wrap; }
a img { border: 0px; }body {font-family: Tahoma;font-size: 12pt;}
.plain pre, .plain tt {font-family: Tahoma;font-size: 12pt;}]]></style>
      <style>#xbe18f4a393654ad894422831658b58d2 BLOCKQUOTE.cite2
{MARGIN-TOP: 3px; PADDING-TOP: 0px; PADDING-LEFT: 10px; MARGIN-LEFT: 5px; BORDER-LEFT: #cccccc 1px solid; PADDING-RIGHT: 0px; MARGIN-RIGHT: 0px}
#xbe18f4a393654ad894422831658b58d2 .plain PRE, #xbe18f4a393654ad894422831658b58d2 .plain TT
{FONT-SIZE: 100%; FONT-FAMILY: monospace; WHITE-SPACE: pre-wrap; FONT-WEIGHT: normal; FONT-STYLE: normal}
#xbe18f4a393654ad894422831658b58d2 A IMG
{BORDER-TOP: 0px; BORDER-RIGHT: 0px; BORDER-BOTTOM: 0px; BORDER-LEFT: 0px}
#xbe18f4a393654ad894422831658b58d2 .plain PRE, #xbe18f4a393654ad894422831658b58d2 .plain TT, #xbe18f4a393654ad894422831658b58d2
{FONT-SIZE: 12pt; FONT-FAMILY: Tahoma}
</style>
      <div>Hi Pavol,</div>
      <div>thanks for answer!</div>
      <div> </div>
      <div>These notifications I want to use mainly for two things:</div>
      <div> </div>
      <div>1) Notify users about password expiration (I know, how
        to calculate pwd expiration date) </div>
      <div>2) Send to users daily/weekly/monthly generated reports about
        IdM</div>
      <div> </div>
      <div>Thanks!</div>
      <div>Regards</div>
      <div> </div>
      <div id="signature_old">
        <div style="FONT-SIZE: 12pt; FONT-FAMILY: Tahoma">
          <table style="WHITE-SPACE: normal; WORD-SPACING: 0px;
            BORDER-COLLAPSE: collapse; TEXT-TRANSFORM: none; COLOR:
            rgb(0,0,0); FONT: medium 'Times New Roman'; WIDOWS: 1;
            LETTER-SPACING: normal; TEXT-INDENT: 0px;
            -webkit-text-stroke-width: 0px">
            <tbody>
              <tr>
                <td style="FONT-SIZE: 11px; FONT-FAMILY: Arial,
                  sans-serif; VERTICAL-ALIGN: bottom; COLOR: rgb(0,0,0)"
                  colspan="2">
                  <p><span style="FONT-SIZE: 14px; FONT-WEIGHT: bold">Roman
                      Pudil</span><br>
                    solution architect<br>
                    <br>
                    gsm: [+420] 775 663 666<br>
                    e-mail:<span class="Apple-converted-space"> </span><a
                      moz-do-not-send="true"
                      href="mailto:roman.pudil@ami.cz"><a class="moz-txt-link-abbreviated" href="mailto:roman.pudil@ami.cz">roman.pudil@ami.cz</a></a></p>
                </td>
                <td style="BORDER-RIGHT: rgb(204,204,204) 1px solid">   </td>
                <td>   </td>
                <td style="FONT-SIZE: 11px; FONT-FAMILY: Arial,
                  sans-serif; VERTICAL-ALIGN: bottom; COLOR: rgb(0,0,0)">
                  <p>AMI Praha a.s.<br>
                    Pláničkova 11<br>
                    162 00 Praha 6<br>
                    tel./fax: [+420] 274 783 239<br>
                    web:<span class="Apple-converted-space"> </span><a
                      moz-do-not-send="true" href="http://www.ami.cz/"><a class="moz-txt-link-abbreviated" href="http://www.ami.cz">www.ami.cz</a></a></p>
                </td>
                <td style="BORDER-RIGHT: rgb(204,204,204) 1px solid">   </td>
                <td>   </td>
                <td style="FONT-SIZE: 11px; FONT-FAMILY: Arial,
                  sans-serif; COLOR: rgb(0,0,0)">
                  <p><img moz-do-not-send="true" title="AMI Praha a.s."
                      alt=""
                      src="http://www.ami.cz/images/podpis/ami_logo.gif"
                      border="0"></p>
                </td>
              </tr>
              <tr>
                <td colspan="8"><br>
                  <a moz-do-not-send="true"
href="http://www.ami.cz/reseni-a-sluzby/bezpecnost-dat/identity-management"><img
                      moz-do-not-send="true" alt=""
                      src="http://www.ami.cz/images/podpis/AMI-podpis-IdM_1.png"
                      border="0"></a></td>
              </tr>
              <tr>
                <td style="FONT-SIZE: 11px; FONT-FAMILY: Arial,
                  sans-serif; COLOR: rgb(128,128,128)" colspan="8"><br>
                  Textem tohoto e-mailu podepisující neslibuje uzavřít
                  ani neuzavírá za společnost AMI Praha a.s.<br>
                  jakoukoliv smlouvu. Každá smlouva, pokud bude
                  uzavřena, musí mít výhradně písemnou formu.</td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
      <div> </div>
      <div> </div>
      <div> </div>
      <div>------ Původní zpráva ------</div>
      <div>Od: "Pavol Mederly" <<a moz-do-not-send="true"
          href="mailto:mederly@evolveum.com">mederly@evolveum.com</a>></div>
      <div>Komu: <a moz-do-not-send="true"
          href="mailto:midpoint@lists.evolveum.com">midpoint@lists.evolveum.com</a></div>
      <div>Odesláno: 14.10.2015 12:09:53</div>
      <div>Předmět: Re: [midPoint] Mail notifications as Server Task</div>
      <div> </div>
      <div id="xbe18f4a393654ad894422831658b58d2" style="COLOR: #000000">
        <blockquote class="cite2" cite="561E29F1.4020108@evolveum.com"
          type="cite">
          <div class="moz-cite-prefix">Hello Roman,<br>
            <br>
            what should be in these batched notifications? The same
            content as for immediate ones, with only difference is that
            these should be sent once a day? Perhaps aggregated - i.e.
            all changes for a given recipient summarized into one
            message?<br>
            <br>
            Best regards,<br>
            Pavol<br>
            <br>
          </div>
          <blockquote class="cite"
            cite="mid:em4437e069-93b8-49f3-b45f-bb0aa970a71b@rpudil-dell7440"
            type="cite">
            <div>Hi all,</div>
            <div>how to create mail notifications as server task?</div>
            <div>The goal is to create email notifications for users
              once per day (not based on create/update/delete action).</div>
            <div> </div>
            <div>Thanks!</div>
            <div>Regards</div>
            <div> </div>
            <div id="signature_old">
              <div style="FONT-SIZE: 12pt; FONT-FAMILY: Tahoma">
                <table style="WHITE-SPACE: normal; WORD-SPACING: 0px;
                  BORDER-COLLAPSE: collapse; TEXT-TRANSFORM: none;
                  COLOR: rgb(0,0,0); FONT: medium 'Times New Roman';
                  WIDOWS: 1; LETTER-SPACING: normal; TEXT-INDENT: 0px;
                  -webkit-text-stroke-width: 0px">
                  <tbody>
                    <tr>
                      <td style="FONT-SIZE: 11px; FONT-FAMILY: Arial,

                        sans-serif; VERTICAL-ALIGN: bottom; COLOR:
                        rgb(0,0,0)" colspan="2">
                        <p><span style="FONT-SIZE: 14px; FONT-WEIGHT:
                            bold">Roman Pudil</span><br>
                          solution architect<br>
                          <br>
                          gsm: [+420] 775 663 666<br>
                          e-mail:<span class="Apple-converted-space"> </span><a
                            moz-do-not-send="true"
                            class="moz-txt-link-abbreviated"
                            href="mailto:roman.pudil@ami.cz"><a class="moz-txt-link-abbreviated" href="mailto:roman.pudil@ami.cz">roman.pudil@ami.cz</a></a></p>
                      </td>
                      <td style="BORDER-RIGHT: rgb(204,204,204) 1px
                        solid">   </td>
                      <td>   </td>
                      <td style="FONT-SIZE: 11px; FONT-FAMILY: Arial,

                        sans-serif; VERTICAL-ALIGN: bottom; COLOR:
                        rgb(0,0,0)">
                        <p>AMI Praha a.s.<br>
                          Pláničkova 11<br>
                          162 00 Praha 6<br>
                          tel./fax: [+420] 274 783 239<br>
                          web:<span class="Apple-converted-space"> </span><a
                            moz-do-not-send="true"
                            class="moz-txt-link-abbreviated"
                            href="http://www.ami.cz/"><a class="moz-txt-link-abbreviated" href="http://www.ami.cz">www.ami.cz</a></a></p>
                      </td>
                      <td style="BORDER-RIGHT: rgb(204,204,204) 1px
                        solid">   </td>
                      <td>   </td>
                      <td style="FONT-SIZE: 11px; FONT-FAMILY: Arial,

                        sans-serif; COLOR: rgb(0,0,0)">
                        <p><img title="AMI Praha a.s." alt=""
                            src="http://www.ami.cz/images/podpis/ami_logo.gif"
                            moz-do-not-send="true" border="0"></p>
                      </td>
                    </tr>
                    <tr>
                      <td colspan="8"><br>
                        <a
href="http://www.ami.cz/reseni-a-sluzby/bezpecnost-dat/identity-management"
                          moz-do-not-send="true"><img alt=""
                            src="http://www.ami.cz/images/podpis/AMI-podpis-IdM_1.png"
                            moz-do-not-send="true" border="0"></a></td>
                    </tr>
                    <tr>
                      <td style="FONT-SIZE: 11px; FONT-FAMILY: Arial,

                        sans-serif; COLOR: rgb(128,128,128)" colspan="8"><br>
                        Textem tohoto e-mailu podepisující neslibuje
                        uzavřít ani neuzavírá za společnost AMI Praha
                        a.s.<br>
                        jakoukoliv smlouvu. Každá smlouva, pokud bude
                        uzavřena, musí mít výhradně písemnou formu.</td>
                    </tr>
                  </tbody>
                </table>
              </div>
            </div>
            <div> </div>
            <br>
            <fieldset class="mimeAttachmentHeader"></fieldset>
            <br>
            <pre wrap="">_______________________________________________
midPoint mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
          </blockquote>
          <br>
        </blockquote>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
midPoint mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>