Notify admin via email whenever a course is added/published on Moodle? - email

Can we configure an email notification to admins whenever a course is published/added on moodle?

You should be able to use Event monitoring to subscribe to the \core\event\course_created event.
The full instructions are in the link, but a rough outline is:
Visit: Site admin > Reports > Event monitoring rules
Enable event monitoring
Create a rule and select the 'course_created' event to notify for
Create a message to send
Subscribe to the rule, via the 'Event monitoring' link on your 'User preferences' page

Related

Email on asset unpublish AEM OOTB

I want to send mails to user when his asset gets unpublished using the OOTB feature.
So, after I configure the Day CQ Mail Service and add email ID to the user details, is there anything else that I need to do? Or will the user automatically receive the email?
You can configure a workflow launcher to run on publish with the event type "node removed". In your workflow model you are going to check if the deleted node is a dam resource and if so, the next step is to configure an email step to send an email to your preferred user. The user and his email should exist on publish. If your users exist only on the author instance, you need a custom step with some kind of publish author notification mechanism or alternativ reverse replication.

VSTS Release Approval Emails

Using the 'Old Editor', there is a way to configure release environment to send emails to approvers via Release Definition > Triggers > Configure Environment as seen in this screen shot. (see also this answer)
Is there a way to do this using the 'New Editor'? Seems like the options for email and blocking the creating user from approving are missing from this workflow.
You can set Approval email notification in the page https://account.visualstudio.com/_notifications (by clicking profile -> Notification settings).
In the notications package, you can add a new subscription for An approval for a deployment is pending, and then specify the email address(es) and filter conditions.
with the integrated notification settings experience, we are moving
the control on notifications from the sender to the receiver. By
default, we'll always raise notification events whenever approvals are
pending and based on receiver's preferences around whether he wants to
be notified by email or not.
More details, you can refer:
Personalize what notifications you receive for releases
New Release Editor does not expose option to Send email to approver
Example:
In notification page, add a new subscription An approval for a deployment is pending, the detail settings as below:
Just add the email address(es) who need to receive this kind of email, for multiple email addresses, separate with comma (,).

G Suite calendar and mail integration

We use the Google Suite for corporate email, calendar etc. What I am trying to achieve here is, I need to be compose an email in gmail with a link to a calendar invite. I would also be able to fill in the details of the meeting through the invite which is embedded in the email. For example, I should be able to send an invite to xyz at company.com with subject Meeting to discuss status and with the body of Test Message. Is there a way I can do that?
I think the best way to do it is just use standard invitation. You just simply add new calendar event and set guests:
Open Google Calendar
Open an event, or create a new one. Specify event title and description - it will be then stated in the invitation email...
On the right, find the "Guests" section.
Start typing the name of the person and choose someone from your contacts. You can also type an email address to invite people who aren't in your contacts list.
When you're done editing your event, click Save.
When you save your event, an email invitation will be sent to your guests.
What is also good, there is .ics file in attachment of invitation email - can be useful for non google recipients using another email clients.
However, if you need URL of the event, you can get it on the event edit page in google calendar - there is a link on the bottom of the page: "publish event" - you can copy the link of the event there. But please be aware that the Google calendar the event is tied to needs to be public (or shared with the recipients), and not just the event itself. (This link is useful for google calendar users...)

Wordpress new-user registration e-mail not sent out when registering with Wordpress-Social-Login

As the title suggests, our Wordpress site will correctly trigger the 'Activation', then 'Welcome' e-mail workflow to users that signup via the the non-WSL (Wordpress Social Login) route. Users that signup via WSL do not trigger the 'Welcome' e-mail, which is a problem.
To be honest, my best guess is that perhaps it has to do something with a non-WSL user trigger the chain of events that starts with a user 'activating' their account, which then fires off the subsequent e-mails.
Any help would be much appreciated.
Edit 1: E-mails are customised user Profile Builder Pro.

How can I set up a webhook or subscription from Presence Insights?

I have been using IBM's Presence Insights to gather indoor location based information. How can I get Presence Insights to send me updates about location events that are important to me? I would like to perform some action when, for example, a mobile devices enters my "entrance" zone.
You can set up Subscriptions to get an HTTPS POST every time a certain exit/enter/dwell event happens in a zone, group of zones, tag, or group of tags. You will need to provide a callback URL to Presence Insights that will be the endpoint that receives the POST.
You can create a subscription pretty easily within the Presence Insights UI:
Ensure you have a site configured with a floor map, zones, and beacons/sensors in place.
Click on "Management" heading
Click on "Subscriptions" subheading
Click on the blue "Create Subscription" button on the right. Fill in the popup:
The "Webhook URL" is the HTTP endpoint owned by you that will receive the POSTed event from PI. (More on this later.)
Check the boxes for the different events you are interested in (Enter, Dwell, Exit, Timeout)
Username and Password are BASIC AUTH credentials for your "Webhook URL" above.
Select the site name/tag that you are interested in with the dropdowns.
Select a zone tag. You can tag multiple zones with the same tag, or have unique tags for each zone, or a combination of both.
Ensure that "Active" is checked. If you want to disable this Subscription at any point, you can simple uncheck the Active button.
Regarding a Webhook URL - this generally requires a server. You can mock up an endpoint very quickly using Node.js, or my personal favorite, NodeRED. We have example NodeRED flows out there already, see this tutorial: https://github.com/presence-insights/pi-sample-NodeRED/tree/master/Eventing
The idea of Subscriptions is to allow any events that are detected and passed into Presence Insights, to also be shared with additional applications, i.e. A marketing / offer engine, or system to create Mobile Push marketing messages as examples. The data that get passed out of Presence Insights includes the device id, location, and any additional device information that has been included in the device registration document. Again, this could include a phone number, loyalty card number, or any info you wish, which can be both encrypted or not. The Doc' s detail how to set up a Subscription event; Management -> Subscriptions -> Create a Subscription via button -> Set the URL you wish the info to be passed on to { this would be your application } -> then select the location you wish to trigger Subscription event, and event type. ( i.e. You select a complete floor or site, and when an event happens at that site or floor, and subscription event gets created and forwarded out of PI). You can then also focus the event, so may be only when in a zone or such.
Its hard to show an example, but when we do demos, one of the applications that very easy to setup and configure to receive these Subscription events, and then perform some action is the Open Source package 'Node-Red' (nodered.org) which is also available in Bluemix (https://console.ng.bluemix.net/catalog/starters/node-red-starter/). You then create a flow such as ..
Picture of Node-red flow