How To Automatically Update Sharepoint List With Email Sent Date - email

In a SharePoint site I keep a list of various projects for workflow management. For each project periodic MS outlook emails are sent containing standard data and formatting. Currently, when an email is sent someone has to manually key in the sent date in the list for the applicable project. Is there a way when an email is sent to have the project in the SharePoint list automatically updated with the sent date? We would prefer that the email and attachments not be retained within the SharePoint site. Specifics or links to specifics on how to accomplish this would be appreciated. thank you.

Assuming your are able to deploy a custom event handler to your SharePoint site a solution for your problem might look like this:
Create and email-enable a document library on the same SharePoint web
Send a carbon copy of the periodic email to this library
Create and register a custom event handler that gets called when an email is send to the email-enabled document library (see 'Creating a SharePoint Event Handler' on MSDN)
When the event handler gets called it inspects the subject or content of the email to identify the project list item in the project list
Set the 'Email sent' date of that project list item
Delete the email from the email-enabled document library within the event handler
Hope this helps.

Related

Find Attachments in Azure DevOps REST API for deletion

When I submit an Attachment to the Azure DevOps REST service (create), is there a place I can go to visualise all of the attachments in there? Or is my best course of action to just send a GET which will give me the list?
My problem then becomes...that there is no way for me to delete unwanted attachments.
Is there a place I can go to visualise all of the attachments in
there? Or is my best course of action to just send a GET which will
give me the list?
Yes, the best course of action to view these attachments is to send a GET request.
In fact, after you upload the attachments to a work item via the API, all of them are managed by the backend. The backend does not assign any relevant info to the work item. This leads to the situation where you cannot view them from the UI, unfortunately.
Microsoft hasn't expanded the API/SDK to provide an "attachment delete" call yet.
You can also press F12, then try with uploading and deleting attachments from one workitem within the UI.
As you can see, the attachments deleted are run by the backend via sending an event call. In your scenario, you cannot remove those unwanted attachments until now.
You are not the first one who has requested this feature. See this suggestion: Unable to delete/remove attachment from work item by using VSTS api. You can vote and comment there to raise its priority. The product team can then consider adding the feature to the roadmap.

How to use date and time received in a outlook mail in a event calender of outlook?

Like Google calender, is it possible to make a functionality such that when some one register an event from website with date and time, then event will be added in an outlook event calender automatically.
I have found a solution with .ics file, but it does not work. It trigger an error that 'the file is not valid internet calender file'.
Please help with some solution.
You can develop an add-in which can parse the incoming emails and do the required actions if required. See Walkthrough: Creating Your First VSTO Add-In for Outlook for more information.
If you deal only with Exchange profiles in Outlook you may consider using EWS. Read more about that in the EWS Managed API, EWS, and web services in Exchange article in MSDN.

How to avoid nintex workflow sending email notification when a new folder is added to a library?

I have a documents library where mainly pdf and doc are uploaded. I have also got a nintex workflow running behind this library.
The workflow sends an email notification to users every time a new document is uploaded. However it is also sending emails when a new folder is created.
Is there any way we can get nintex to NOT send emails when a folder is created.
You could put a check at the start of the workflow for content type.. If folder end wf. Or goto workflow settings and put a conditional event on create. To only start wf if content type = document

I would like to create a script for collecting multiple subscription requests and generating an e-mail notification

We have an existing website that is built on DNN. I would like to add a script to an existing page that collects a user's request for to subscribe to various e-mails we publish and then to generate an e-mail that idenfies those requested newsletter subscription titles. Any ideas?
Data springs has some good subscription tools available, check out their suite of modules.
If you want to just collect names and email addresses with a request, the DNN Form and List module will work just fine.
If you just want a "subscribe to our newsletter" type of link on your page, you could couple that with a modal popup that shows the form when the link is clicked(Here is an excellent tutorial: http://www.dnncreative.com/Tutorials/DNNTutorialsforAdministrators/EasilycreatePopupsusingdnnModalshow/tabid/679/Default.aspx that will show you how to do it.)

SharePoint send an email to users specified in a Field

I have a SharePoint list of Issues and have set a column (called Alert) to a “Person or Group” (allowing multiple names).
I would like the system to send an email to all the users listed in the Alert field, if the respective Issue is modified.
How do I set the Workflow to send an email the users as specified by the data in the Alert field (if there is any)? I know how to use the Workflow etc – the problem the “To” part of the Workflow's email.
(Sorry if this item has already been tackled – I've searched Stack Overflow and Googled around but could not find an answer)
Preferably through SharePoint Designer. i.e. preferably with no Code.
Regards.
I have limited experience with SP Designer workflows, but have you tried the email action with "Workflow Lookup" selected in the To field? This allows you to use specific fields from the submitted list item.
You'll want to use the SPUtility.SentEmail method which will send an email to the string you pass it from using the context of the SharePoint server, saving you from writing the code youself to send it.
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.utilities.sputility.sendemail.aspx
Use the "Build Dynamic String" workflow action to compose the list of email addresses. You can then use the dynamic string variable in the TO field. You can find the variable under "Workflow Data" in the lookup dialog.
I believe that the SPD workflows can only send to a person field that allows single selections. If you need to send an email to multiple users you will have to find a custom action (similar to http://www.codeplex.com/SPDActivities) or develop a Windows Workflow Foundation workflow using Visual Studio.
I have found a workaround to make the workflow send emails to multiple users entered under the field type Person/Group:
Create a workflow variable with type String
Assign the variable to Current Item field name and return type String
Then send an email To: Variable Name