CruiseControl.NET email to only modifying users - cruisecontrol.net

Is it possible to send mail on successful builds to only modifying users dynamically via CruiseControl.NET?
In CCNET build logs there's a section about modifying users but only user code value exists there.
Is it possible to integrate this information with exchange server and get the user email then send only all modifying users a mail like Your modifications successfully transferred vs vs?

From my knowledge, the email blocks in CC.NET are static. I do not think you could dynamically create email recipients, unless you used a mechanism outside of CC.NET, such as Powershell.
You always could run a script that could generate your email list (based on your source control information), and set that email recipient string list to a system level variable in your environment variables, then reference that environment variable in your email blocks of CC.NET.

Related

Get GitLab Issue Service Desk Email via API

I'm creating a separate app for users to visualize GitLab issues without needing access to GitLab. We are using python-gitlab to retrieve the issue data for display on this separate site. Users will create new issues by clicking a button that opens up an email configured with the project's Service Desk email.
This all works great so far. BUT, we need to get the issue-specific email address in order to provide an option for users to add a comment via this separate app. According to the documentation, the issue email address is readily available on the issue itself -- https://docs.gitlab.com/ee/user/project/issues/managing_issues.html#copy-issue-email-address.
Is there a way to retrieve this issue-specific email via the GitLab API?
This information is available in the GET request of a project. The information on how to do this is on the API Documentation.
If the service_desk_enabled key is true, there will be an email address in the service_desk_address key. This will reflect the value in the settings of the project.
If you haven't changed any defaults, this looks like the email address is made up of:
"contact-project+"
project group name + "-"
project name + "-"
Project ID + "-"
"issue-#incoming.gitlab.com"
That way, if it's not available in the request but the setting is enabled, you should be able to build it

Azure DevOps: Not able to email Queries

I have the Project administrator role in Azure Devops for the project I manage. I can do everything in my project except for emailing queries. Is there a specific role that is needed to be able to email Queries?
Things I tried:
Changing my roles - Didn't work as project administrator is already an elevated access
Sending to different emails - No effect. No email goes to any email within my organization
As I know project admin is enough to send email. So I think the issue is that the emails are blocked by receivers. You can create a new Outlook email and add it to project member to test that.
To view, run, or email a query, you must be granted Stakeholder access or higher.
You can only send the email to individual address for a project member that is recognized by the system. Adding a team group or security group to the to line isn't supported. If you add an email account that the system doesn't recognize, you receive a message that one or more recipients of your email don't have permissions to read the mailed work items.
Related documents:
General work item feature access
View, run, or email a work item query
Email query items or share a query URL

blocking other users from registering by using their email

On my site, a user enters his email when creating an account. After submitting the form, a new user row is created in db with the respective email. This row has inactive flag set to True. Next, an activation email is sent to the entered email address so that the user can activate his account and login afterwards using the email and password. There is unique constraint on email in db for login to work correctly.
The problem is that someone can use an email of another person, blocking that other person from ever registering on my site. There already is an (inactive) account with the email that the legit user tries to enter so new user row can't be created. I am not sure how to tackle this problem exactly. It probably has a good solution because the registration scheme I use is pretty standard.
From my view point, I have a solution like that:
When user register with the email. I will generate an unique key (may be user-id) that will attach into the link activate in the email content. When user click to activate account we will get that unique key to update to confirm from user. That solution will help you disable an user following user id instead of disable following the email which can be duplicate.
Hope this help.
U cannot find the person's mail id who misused other's mail id so its not possible to an extent.
You could delete the database entry with the email after some time, if the activation link has not been clicked. Depending on your operating system, you could use cron or systemd timers (Linux) or scheduled tasks (Windows) for that.
For example to execute a MySQL query from cron this question might be helpful.

Demo Account Branding: Override DocuSign_EmailResources

I uploaded a file DocuSign_EmailResources.xml to override the Master file and I do not my the changes. The documentation says that 'The ability to use the resource file option is not
normally enabled for an account; contact your Account Manager or DocuSign Support for more
information about enabling this option in your account'.
Before we update our production, we would like test on our demo account using SOAP API. I just want to add a link to the Email text. When I try this through the API, the link is disabled in the email as it is being formatted by the server side program.
Is there any setting that I am missing.
Thanks in advance.
If you can see (and access) the Resources tab when Editing a Brand Profile in the DocuSign web console, then this should mean that "the ability to use the resource file..." is indeed already enabled for your account.
The Email Resource file is quite lengthy, and is divided into various sections -- each section being the email template that's used for a specific type of email that DocuSign sends. So, for example, if you wanted to modify the contents of the "signing invitation" email that DocuSign sends to a recipient when it's their turn to sign, you'd modify contents within the Envelope Activation section of the Email Resource File. Changes applied to other sections of the resource file would not impact/affect the signing invitation email. If you haven't already done so, I'd suggest that you review the Email Resource File Guide (http://www.docusign.com/sites/default/files/DocuSign%20System%20Default%20Email%20Formats.pdf) to ensure that you've modified the correct section of the resource file for the type of email that you intend to effect.
Also, keep in mind that each Email Resource File applies to a specific (single) Brand. So, if you have multiple Brands within your account, make sure that you're modifying the Email Resource File for the Brand that's used for the Envelopes where you expect/want customized email content.

Send SharePoint Alert to Public Folder in Exchange

I created a list and setup alerts that send to several individuals when a new item is added to the list. However, I have one additional requirement to have an alert email sent to a Public Folder in Exchange.
The folder is setup with an email address, VSrequest#domain.com, but when I try to add that address into the "Send Alerts To" field (when creating a new alert), SharePoint returns an error: "No Exact match was found."
I thought about setting up the alert in a custom workflow through SharePoint designer, but is there a way to easily reuse the existing Alert Email as a template for the body of the custom alert?
Any other ideas or pointers would be greatly appreciated!
You can't send an alert to a regular email address (or mailbox) because it isn't associated with a user/group. If it isn't associated with a user/group then it can't have permissions to any list or list items in SharePoint. Finally, if it doesn't have permissions then it can't receive an alert (or that would be a pretty big security hole).
Probably the easiest method is what you mention: using a custom SharePoint designer workflow. It isn't going to be 100% the same but you can just copy the HTML from a previous alert and then try to fill in the data as much as you can in the workflow. (see here for an article describing almost exactly what you want).
As you've seen you can't setup an alert against a random email address - it has to be against a user (who has an email address).
So one option would be to create a domain user for VSrequest#domain.com - ensure they are in SharePoints user list (Site Settings > Users and Groups > All Users) then you will be able to setup the alert for that user which will go to that email address.
Other options include workflow as Kit mentions, Event Receivers or 3rd party software.

Resources