[prev in list] [next in list] [prev in thread] [next in thread] 

List:       esb-java-dev
Subject:    Re: [Dev] Delaying account verification email
From:       Hasanthi Purnima Dissanayake <hasanthi () wso2 ! com>
Date:       2019-04-19 13:20:44
Message-ID: CANox4Yh=YLNYq9AeKO5MwV19b-gtbPturB4cQv22EfrhBe_3WA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi Manu,

The above can not be achieved OOTB through the product, but a simple
customization would do this. You need to customize [1] and override the
triggerNotification() method. From the customization you need to delay
triggering the notification. You can refer [2] to gather details on the
above customization.

If you need this delay in the all the emails send through the Identity
Server you can write a customized email sending module in a way that caters
your requirement. Please refer [3] to gather details on customizing the
email sending module.

[1]
https://github.com/wso2-extensions/identity-governance/blob/master/components/org.wso2 \
.carbon.identity.recovery/src/main/java/org/wso2/carbon/identity/recovery/handler/UserSelfRegistrationHandler.java
 <https://www.google.com/url?q=https://github.com/wso2-extensions/identity-governance/ \
blob/master/components/org.wso2.carbon.identity.recovery/src/main/java/org/wso2/carbon \
/identity/recovery/handler/UserSelfRegistrationHandler.java&sa=D&source=hangouts&ust=1555764513845000&usg=AFQjCNG5vcx04Y0GS6lvVkuzA_-b78ttiw>
 [2]
https://medium.com/@isurakarunaratne/wso2-identity-server-eventing-framework-32505bcc1600
 [3]
https://medium.com/@isurakarunaratne/extending-email-sending-module-wso2-identity-server-7f9b1233d5c
 <https://www.google.com/url?q=https://medium.com/@isurakarunaratne/extending-email-se \
nding-module-wso2-identity-server-7f9b1233d5c&sa=D&source=hangouts&ust=1555764949853000&usg=AFQjCNHp7EtGZUimAt7IMgPwpih8KfkWyA>


Thanks,
Hasanthi

On Fri, Apr 19, 2019 at 5:20 PM Manu Shah <manu.skit.ec@gmail.com> wrote:

> Hi Hasanthi,
> 
> Our requirement is that email verification mail should be triggered after
> 5 mins of account creation.
> 
> Thanks
> Manu
> 
> On Fri, Apr 19, 2019 at 4:33 AM Hasanthi Purnima Dissanayake <
> hasanthi@wso2.com> wrote:
> 
> > Hi Manu,
> > 
> > Can you please elaborate more on your requirement. Do you need to
> > schedule an email to be sent for account verification for a specific time?
> > 
> > Thanks,
> > 
> > On Thu, Apr 11, 2019 at 5:21 AM Manu Shah <manu.skit.ec@gmail.com> wrote:
> > 
> > > Hello,
> > > 
> > > Has anyone worked on delaying the account verification email ?
> > > 
> > > Thanks
> > > Manu
> > > 
> > > _______________________________________________
> > > Dev mailing list
> > > Dev@wso2.org
> > > http://wso2.org/cgi-bin/mailman/listinfo/dev
> > > 
> > 
> > 
> > --
> > 
> > Hasanthi Dissanayake
> > 
> > Senior Software Engineer | WSO2
> > 
> > E: hasanthi@wso2.com
> > M :0718407133| http://wso2.com <http://wso2.com/>
> > 
> 
> 
> --
> Regards,
> Manu
> 


-- 

Hasanthi Dissanayake

Senior Software Engineer | WSO2

E: hasanthi@wso2.com
M :0718407133| http://wso2.com <http://wso2.com/>


[Attachment #5 (text/html)]

<div dir="ltr">Hi Manu,<div><br><div>The above can not be achieved OOTB through the \
product, but a simple customization would do this. You need to customize [1] and \
override the triggerNotification() method. From the customization you need to delay \
triggering the notification. You can refer [2] to gather details on the above \
customization.</div></div><div><br></div><div>If you need this delay in the all the \
emails send through the Identity Server you can write a customized email sending \
module in a way that caters your requirement. Please refer [3] to gather details on \
customizing the email sending module.</div><div><br></div><div>[1]  <a rel="nofollow \
noreferrer noopener" target="_blank" \
href="https://www.google.com/url?q=https://github.com/wso2-extensions/identity-governa \
nce/blob/master/components/org.wso2.carbon.identity.recovery/src/main/java/org/wso2/ca \
rbon/identity/recovery/handler/UserSelfRegistrationHandler.java&amp;sa=D&amp;source=hangouts&amp;ust=1555764513845000&amp;usg=AFQjCNG5vcx04Y0GS6lvVkuzA_-b78ttiw" \
class="gmail-Xx" tabindex="-1" dir="ltr" \
style="font-size:13px;unicode-bidi:isolate;color:rgb(38,50,56);font-family:Roboto,sans \
-serif">https://github.com/wso2-extensions/identity-governance/blob/master/components/ \
org.wso2.carbon.identity.recovery/src/main/java/org/wso2/carbon/identity/recovery/handler/UserSelfRegistrationHandler.java</a></div><div>[2] \
<a href="https://medium.com/@isurakarunaratne/wso2-identity-server-eventing-framework- \
32505bcc1600">https://medium.com/@isurakarunaratne/wso2-identity-server-eventing-framework-32505bcc1600</a></div><div>[3] \
<a rel="nofollow noreferrer noopener" target="_blank" \
href="https://www.google.com/url?q=https://medium.com/@isurakarunaratne/extending-emai \
l-sending-module-wso2-identity-server-7f9b1233d5c&amp;sa=D&amp;source=hangouts&amp;ust=1555764949853000&amp;usg=AFQjCNHp7EtGZUimAt7IMgPwpih8KfkWyA" \
class="gmail-Xx" tabindex="-1" dir="ltr" \
style="font-size:13px;unicode-bidi:isolate;color:rgb(38,50,56);font-family:Roboto,sans \
-serif">https://medium.com/@isurakarunaratne/extending-email-sending-module-wso2-ident \
ity-server-7f9b1233d5c</a></div><div><br></div><div>Thanks,</div><div>Hasanthi</div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 19, 2019 at 5:20 PM \
Manu Shah &lt;<a href="mailto:manu.skit.ec@gmail.com">manu.skit.ec@gmail.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi \
Hasanthi,<div><br></div><div>Our requirement is that email verification mail should \
be triggered after 5 mins of account \
creation.</div><div><br></div><div>Thanks</div><div>Manu</div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 19, 2019 at 4:33 AM \
Hasanthi Purnima Dissanayake &lt;<a href="mailto:hasanthi@wso2.com" \
target="_blank">hasanthi@wso2.com</a>&gt; wrote:<br></div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Manu,<div><br></div><div>Can you \
please elaborate more on your requirement. Do you need to schedule an email to be \
sent for account verification for a specific \
time?</div><div><br></div><div>Thanks,</div></div><br><div class="gmail_quote"><div \
dir="ltr" class="gmail_attr">On Thu, Apr 11, 2019 at 5:21 AM Manu Shah &lt;<a \
href="mailto:manu.skit.ec@gmail.com" target="_blank">manu.skit.ec@gmail.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div \
dir="auto">Hello,<div dir="auto"><br></div><div dir="auto">Has anyone worked on \
delaying the account verification email ?</div><div dir="auto"><br></div><div \
dir="auto">Thanks</div><div dir="auto">Manu</div><div dir="auto"><br></div></div> \
_______________________________________________<br> Dev mailing list<br>
<a href="mailto:Dev@wso2.org" target="_blank">Dev@wso2.org</a><br>
<a href="http://wso2.org/cgi-bin/mailman/listinfo/dev" rel="noreferrer" \
target="_blank">http://wso2.org/cgi-bin/mailman/listinfo/dev</a><br> \
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" \
class="gmail-m_45153859965353315gmail-m_3988145148202506430gmail_signature"><div \
dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div \
dir="ltr"><span style="font-size:10pt;font-family:AdiHaus;color:gray" \
lang="DE"></span><span \
style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"> \
</span><span style="font-size:10pt;font-family:AdiHaus;color:gray" \
lang="DE"></span><span><span><font color="#888888"><p dir="ltr" \
style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span \
style="color:rgb(102,102,102);font-family:&quot;trebuchet \
ms&quot;,sans-serif">Hasanthi<font color="#888888"> \
Dissanayake</font></span><br></p><p dir="ltr" \
style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span \
style="background-color:transparent;vertical-align:baseline"><font color="#666666" \
face="trebuchet ms, sans-serif">Senior Software Engineer | WSO2</font></span></p><p \
dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span \
style="background-color:transparent;vertical-align:baseline"><span \
style="color:rgb(102,102,102);font-family:&quot;trebuchet \
ms&quot;,sans-serif;line-height:normal">E</span>: <a href="mailto:hasanthi@wso2.com" \
style="font-family:&quot;trebuchet ms&quot;,sans-serif;line-height:normal" \
target="_blank">hasanthi@wso2.com</a><font color="#666666" face="trebuchet ms, \
sans-serif"><br></font></span></p><font color="#666666" face="trebuchet ms, \
sans-serif"><span style="background-color:transparent;vertical-align:baseline">M \
:0718407133|</span><a href="http://wso2.com/" \
style="color:rgb(17,85,204);text-decoration:none" target="_blank"><span \
style="background-color:transparent;vertical-align:baseline">  </span><span \
style="background-color:transparent;text-decoration:underline;vertical-align:baseline">http://wso2.com</span></a><span \
style="background-color:transparent;vertical-align:baseline"> \
<br></span></font></font></span></span></div></div></div></div></div></div></div></div></div></div>
 </blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" \
class="gmail-m_45153859965353315gmail_signature">Regards,<br>Manu</div> \
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" \
class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div \
dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><span \
style="font-size:10pt;font-family:AdiHaus;color:gray" lang="DE"></span><span \
style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"> \
</span><span style="font-size:10pt;font-family:AdiHaus;color:gray" \
lang="DE"></span><span><span><font color="#888888"><p dir="ltr" \
style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span \
style="color:rgb(102,102,102);font-family:&quot;trebuchet \
ms&quot;,sans-serif">Hasanthi<font color="#888888"> \
Dissanayake</font></span><br></p><p dir="ltr" \
style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span \
style="background-color:transparent;vertical-align:baseline"><font color="#666666" \
face="trebuchet ms, sans-serif">Senior Software Engineer | WSO2</font></span></p><p \
dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span \
style="background-color:transparent;vertical-align:baseline"><span \
style="color:rgb(102,102,102);font-family:&quot;trebuchet \
ms&quot;,sans-serif;line-height:normal">E</span>: <a href="mailto:hasanthi@wso2.com" \
style="font-family:&quot;trebuchet ms&quot;,sans-serif;line-height:normal" \
target="_blank">hasanthi@wso2.com</a><font color="#666666" face="trebuchet ms, \
sans-serif"><br></font></span></p><font color="#666666" face="trebuchet ms, \
sans-serif"><span style="background-color:transparent;vertical-align:baseline">M \
:0718407133|</span><a href="http://wso2.com/" \
style="color:rgb(17,85,204);text-decoration:none" target="_blank"><span \
style="background-color:transparent;vertical-align:baseline">  </span><span \
style="background-color:transparent;text-decoration:underline;vertical-align:baseline">http://wso2.com</span></a><span \
style="background-color:transparent;vertical-align:baseline"> \
<br></span></font></font></span></span></div></div></div></div></div></div></div></div></div></div>




_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic