WSO2 Identity password recovery - wso2

I am trying to send the password recovery notification using our own communication framework (The framework sends SMS and Android notification in addition to the email notification) by following the link Recover with Notification.
Notification.Sending.Internally.Managed=true
This enables the internal email sending module. If false, the email sending data is available to the application via a Web service. Thus the application can send the email using its own email sender.
Can any one please point me to the webservice that can be used to obtain the 'email sending data' as mentioned in the documentation.

i'm not aware of any webservice to receiving email sent from the notification module.
However, you can build a custom notification module and add in component/lib/ folder. see the below link for information and sample code
http://xacmlinfo.org/2015/09/07/custom-notification-module-for-account-management-in-wso2-identity-server-wso2is/

Related

Does Outlook.com provides any webhook/push-notification support?

I'm planning to write a web service to automate some task for my Outlook.com email account. I want Outlook.com to send an HTTP request to my endpoint when an email arrives, so that I don't need to poll the server. Does Outlook.com provide such functionality?
That API has been deprecated.
You must use: microsoft graph
Outlook provides webhooks via what they call push notifications. You'll find details on this API in the Outlook Push Notifications REST API reference. The capability exists to receive events for a wide variety of resources, including email messages in Outlook.com.
You might also find some useful capabilities for notification of changes to messages with Use the Microsoft Graph API to get change notifications and Keeping messages and mail folders up to date in apps.

How to configure Django such that emails are sent by both smtp, and to a log file?

I'm frequently plagued by the complaints that email from a django application running on its own Ubuntu LTS 16.04 server, is not being received. Typically these are the password change request emails, so they're part of the standard Django Auth module as I understand it.
Django's sendtestemail appears to work reliably, and many of the expected emails are actually sent and received (from what we can discern). The smtp setup is such that EMAIL_HOST is set to an smtp server on the same network that supports anonymous message relay (from servers on the same network only), and the EMAIL_BACKEND is the typical django.core.mail.backends.smtp.EmailBackend. Using the console backend for testing shows that emails are triggered as we would expect on these various events.
So, what I want to be able to do, is to have both email sent out via the smtp relay as expected, but also be added to a log file, and for this to happen for all emails generated by all the email events in the Django app.
Is this possible using django configuration?
If not, can you recommend a method by which I can both send and log the emails?
Bonus query - can the solution allows me to resend an email using the original content?

wso2 identity server - sending email when user changed password

I am using WSO2 IS 5.3.0 server and I am wondering if it is possible to send an email when user changes his password or any other attribute, etc., email.? Is this feature already built in WSO2 IS (I couldn't find anything in WSDL services) or is it then possible to extend something?
Any comments about this issue would be appreciated.
Please do the following steps to achieve this task.
Write a custom user operation event listener extending the AbstractUserOperationEventListener.java
Implement the doPostUpdateCredential method. doPostUpdateCredential
Trigger notification event handler to send a notification to the user. EventHandlerNotification

JMeter: How do I create Load testing script when it accepts OTP on Mobile during registration?

Scenarios is: During registration on Android App, OTP will be verified by App.
How do I create a script which allows to fetch OTP on mobile?
If the OTP is being sent by email you can use Mail Reader Sampler which allows fetching email(s) for the specified account using POP3 or IMAP protocols.
See How to Create a JMeter Script to Check Email During Registration AND Grab the Confirmation URL article for example configuration.

Can't send email to myself

I'm using opencart 1.5.1.3. For some reason I can't send an email to the same account I am sending from. For example, I can't receive the notification email when an order is placed. The email reaches the customer OK and if I specify additional email address to send the mail to, they receive the email OK, the email configured as the store email addres doesn't receive the email. I'm using the 'mail' option to send email.
The email is hosted at google apps. Please help
some web hosting prevent self-to-self email for safety reason.
maybe it is your hosting provider block this mail.