Is it possible to get Exchange emails downloaded to SharePoint document library using Powershell and or Custom Workflow?

I have been asked to see if it would be possible to get  exchange emails downloaded and or sent to a document library .
I know of the sitemail box app. but we are not running Exchange 2013.
and setting up the lists and or document library to receive emails using the built in doesn't seem to be working...( maybe not configured correctly, i would need to see what the prior admin/developer did)
But is there a way to get the emails downloaded to a document library using a workflow and or a powershell script that is triggered via  workflow?

Hi,
Since workflow can only work on items in SharePoint sites, they cannot get Exchange emails, let alone download emails to SharePoint library. However, you could manually save email to local and upload it to SharePoint list/library.
I'd suggest you toubleshooting the incoming email settings in SharePoint. Please refer to the article below and check your configuration:
https://technet.microsoft.com/en-us/library/cc262947.aspx
http://blogs.technet.com/b/harmeetw/archive/2012/12/29/sharepoint-2013-configure-incoming-emails-with-exchange-server-2013.aspx
Regards,
Rebecca Tu
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected]

Similar Messages

  • Download older version of a file from SharePoint Document Library using CSOM and 404 error

    Hi,
    I am trying to download previous versions including Major and Minor versions of documents from SharePoint Online using CSOM. I get 404 error when I try to download the file. I found several posts on various discussion forums where people are getting same
    error but none of those have any solution/answer. Below is one of the threads and sample code I have tried that results in 404 error. If I use the link in browser directly, I am able to download the file. Also I am able to download the current version of file
    using CSOM without any problem, it is only the older versions that give me 404 in CSOM.
    http://qandasys.info/how-to-download-the-historical-file-version-content-using-csom/
    public int GetStreamFromFile(string docid, string lib, string fileurl, ClientContext clientContext, int iuserid, string Version, bool isCurrrent)
    if(!isCurrent)
    List LibraryName = clientContext.Web.Lists.GetByTitle(lib);
    clientContext.Load(LibraryName);
    clientContext.ExecuteQuery();
    CamlQuery camlQuery = new CamlQuery();
    camlQuery.ViewXml = "" + fileurl +
    Microsoft.SharePoint.Client.ListItemCollection collListItem = LibraryName.GetItems(camlQuery);
    clientContext.Load(collListItem, items => items.Include(item => item.Id, item => item["FileLeafRef"], item => item["LinkFilename"],
    item => item["FileRef"], item => item["File_x0020_Size"], item => item["DocIcon"], item => item.File.Versions));
    //clientContext.Load(collListItem);
    clientContext.ExecuteQuery();
    foreach (Microsoft.SharePoint.Client.ListItem oListItem in collListItem)
    //string fileurl1 = (string)oListItem["FileRef"];
    //string filename = (string)oListItem["LinkFilename"];
    foreach (FileVersion version in oListItem.File.Versions)
    if (Version == version.VersionLabel)
    //Added excutequery to get object one more time as per blog
    //http://social.technet.microsoft.com/Forums/de-DE/sharepointdevelopmentprevious/thread/88a05256-8694-4e40-863d-6c77512e079b
    clientContext.ExecuteQuery();
    FileInformation fileInformation = ClientOM.File.OpenBinaryDirect(clientContext,version.Url);
    bytesarr = ReadFully(fileInformation.Stream);
    Darwaish

    Hi,
    According to your description,
    I know you want to get older version of a file from SharePoint Document Library using Client Object Model.
    The following code snippet for your reference:
    public void GetVersions()
    ClientContext clientContext = new ClientContext(“http://SPSite”);
    Web site = clientContext.Web;
    clientContext.Load(site);
    clientContext.ExecuteQuery();
    File file = site.GetFileByServerRelativeUrl(“/Shared Documents/mydocument.doc”);
    clientContext.Load(file);
    clientContext.ExecuteQuery();
    ListItem currentItem = file.ListItemAllFields;
    clientContext.Load(currentItem);
    clientContext.ExecuteQuery();
    FileVersionCollection versions = file.Versions;
    clientContext.Load(versions);
    clientContext.ExecuteQuery();
    if (versions != null)
    foreach(FileVersion _version in versions)
    Console.WriteLine(“Version : {0}”,_version.VersionLabel);
    More information:
    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.client.file.versions.aspx
    Best Regards,
    Dennis Guo

  • Is it possible to Update Powerpoint slides from the Sharepoint slide-library using Macros when its in read-only mode?

    As Wendy Li informed that PPT ask you to update from slide library automatically. But this happens only if the slides are saved in your system(in read write mode). Is it possible to run the updates automatically on Read-only slides as well.
    Thanks.
    Old:
    Currently I'm executing the task manualy by using the Check for updates option. But I'm willing to develop a macro code which can be executed when the slide is open and automatically replaces the slides with the latest one from the Slide-Library. Any links
    to pre-existing code will be helpful. Thanks.

    Hi SamGoe,
    According to your description, my understanding is that you want to update the PoerPoint slide from SharePoint 2010 slide library automatically.
    It seems to be not necessary to use Macros. SharePoint provides an OOB way to notify you to check for update to the slide library slides when you open the presentation. PowerPoint does this because you selected the option
    Tell me when this slide changes when you copied the slides from the library.
    More information, please refer to the link below:
    http://office.microsoft.com/en-us/powerpoint-help/sharepoint-slide-libraries-ii-use-slides-in-the-library-RZ010254089.aspx?section=6
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • I have the Photoshop CS6 Extended CD, but my computer won't read it.  Is it possible to get a digital download to use instead?

    I have the Photoshop CS6 Extended CD, but my computer won't read it.  Is it possible to get a digital download to use instead?

    You're welcome. Run those updates, they are important.
    Gene

  • Is it possible to get my email folders from my iMac mail tool up to my icloud account?

    Is it possible to get my email folders from my iMac mail tool up to my icloud account?
    I would like to access my mail tool folders while I am traveling overseas with my ipad.
    Alternately, is it possible to get my mail tool folders onto my ipad?
    imac:   Mac OS X  Version 10.7.5
    mail tool:  Version 5.3

    Your iCloud cannot access other accounts. You can set up the Mail app on your iPad to access other accounts just the same as on your Mac - the only issue might be with the ISP who provides your internet connection, as some services require you to be actually connected to them to send, and possibly even to receive though that would be more unusal.
    If any of your other accounts provide webmail you could use that.
    Otherwise you could set up forwarding on the other accounts so that messages are sent on to your iCloud account (I should set it to leave a copy on the original server) - however you cannot send using anything other than your iCloud email address as the 'From' address using iCloud outgoing server.
    As to existing messages, if the account is IMAP then the messages can be accessed from any device that signs into the account; if the account is POP then received messages live on your Mac. You can copy them up to iCloud in the Mail application on your Mac by creating a new folder or folders on iCloud and then dragging the messages to these folders - hold the option key down to retain the messages on your Mac and duplicate them to iCloud. Move messages, not folders, and don't try to move a huge amount at a time. Remember that they will take up space on your iCloud account.

  • Every time I click to update an application I get a window "Download Error" it gives me the option to "Contact customer support" and a link "Reload Applications"

    Every time I click to update an application I get a window "Download Error" it gives me the option to "Contact customer support" and a link "Reload Applications"

    Sal Sabaj, Would ask you to follow the suggestions mentioned under the below article and check if that helps.
    http://helpx.adobe.com/creative-cloud/kb/error-downloading-cc-apps.html
    Let us know in case you still get that issue.
    Regards
    ~ Arpit Kapoor

  • Trying to install Photoshop CC but get following message, download error. press retry to try again or contact customer support.(49)

    Trying to install Photoshop CC but get following message, download error. press retry to try again or contact customer support.(49)

    disable running antivirus/firewall programs.

  • In apple mail client, is it possible to open an email sent to me, make comments on it and send the amended email back to the sender?

    In apple mail client, is it possible to open an email sent to me, make comments on it and send the amended email back to the sender?

    No. Make your comments in your reply and send that.

  • How can i get a free download, i tried  but its impossible, now, and when i sign up on creative cloud for logging in, said now you are exit .

    How can i get a free download, i tried  but its impossible, now, and when i sign up on creative cloud for logging in, said now you are exit .

    If you have exhausted your free trial period on your computer, even if you didn't actually get to try it, short of wiping and reinstalling your entire system from scratch you're not going to be able to extend the trial period.  If there was a way, there would be people who would take advantage and just never subscribe.
    -Noel

  • After installing the new Yosemite OS on my iMac I can no longer send email. I can receive email, but not send. I use gmail and can send email on the gmail (google) site, but not on "mail" on my iMac. Any others with this problem? What should we do?

    After installing the new Yosemite OS on my iMac I can no longer send email. I can receive email, but not send. I use gmail and can send email on the gmail (google) site, but not on "mail" on my iMac. Any others with this problem? What should we do?

    My gmail, which is correctly configured for Mail with gmail SMTP and Google IMAP, works for awhile on Mail, which I leave open while working on other applications. But several times a day I get msg from Google: "We recently blocked a sign-in attempt to your Google Account" . . . and requiring me to verify my account details, re-enter passwords, confirm security settings (or change them from "disable" to "enable less secure methods" and so on). In Mail I also have tried "taking all accounts online", and re-entering my gmail password inside Mail account settings. These steps successfully re-set comms between gmail and Mail ... for awhile, then it happens again. Enough occurrences over a work day that I just quit Mail and revert to accessing gmail directly. Apple Care advisor and an Apple knowledge base article say that Apple can't deal with this, as gmail is third-party app, and they refer me to gmail, and so far I've found nothing helpful there.
    From today I also have several instances of a window saying "Mail has unexpectedly closed" and asking me to Re-open it.
    I also use Yahoo mail, which stops working with Mac Mail at the same time as gmail, but I do not receive notices to re-verify from Yahoo.
    I recently upgraded from Mavericks to Yosemite. The Mail problem happened occasionally with Mavericks but is far more frequent with Yosemite.

  • How to get Page Count of pdf in Document library in EventHandler

    Hi,
    How to get Page Count of pdf in Document library once uploaded has been done and i would like to update the page count value in document library column of the corresponding file.
    I should achieve it in Event handler.
    Which even should i use, either ItemAdded or "ItemUpdated "?
    Thanks & Regards
    Poomani Sankaran.

    Hello,
    If you are looking for file download or view count then event handler will not work. You need to enable the analytic report to your site. Once you enable it then you can see the report within a browser or you can also create custom webpart to show count
    of specific file.
    http://blogs.msdn.com/b/ecm/archive/2010/05/03/web-analytics-in-sharepoint-2010-insights-into-reports-and-metrics.aspx
    http://sharepoint.stackexchange.com/questions/34611/count-of-files-under-a-folder-in-a-document-library
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • I recently upgraded to Lion on an iMac and I am trying to run Garageband but get message telling me that the instrument library is invalid and I should choose a valid Instrument Folder or re-install Garageband. Where do I find such a folder?

    I recently upgraded to Lion on an iMac and I am trying to run Garageband but get message telling me that the instrument library is invalid and I should choose a valid Instrument Folder or re-install Garageband. Where do I find such a folder?

    Thanks very much. Yes, I am using the installer files and serial number from the URL you referenced above. I have spent many hours trying to get it to work. I would love some help!!
    The problem is that the instructions that come in the pdf with the downloaded files do not work, because the files that download from that page do not have the names referred to in the pdf, and most of the things that are referred to in the instructions do not happen. Here is what actually happened.
    When I downloaded the files from the website, these are the files that downloaded:
    I double-clicked each one and they extracted into two different folders.
    Then I read a message on the forum that said to move all the extractred files into the same folder, so I moved all files into one file at C:\Creative Suite CS2\Adobe Creative Suite 2.0 as was pictured in the forum message. Here are screen shots showing all of the files in that folder I have now:
    So then I double clicked the "Setup" file and I got this error message:
    So then I tried to install the programs separately from the installer inside the folders Photoshop and Illustrator. I got this far and entered the serial number from the website:
    But then I got this error message, even though I was using the files and serial number exactly from the website:
    I tried both photoshop and illustrator and the same thing happened.
    (I also looked at Solution 2 that you mentioned above but I don't have anything called VCOM on the computer. Also the error message that I got is not that one.)
    I think I really need a set of instructions that lists the steps in order to do, but based on the files that actually download from the website and what happens when you extract the files. I feel as if I have all of the proper files but it still doesn't work.
    Thank you very much!

  • When I tried to open my Mail app this morning, it opened a list of choices - iCloud, E Exchange, Google, Yahoo, Aol, Outlook.  I use Hotmail and it usually opens to my Inbox.  Why did it do this and do I choose Outlook and is it safe to sign in

    When I tried to open my Mail app on my IPhone this morning, it opened a list of choices - iCloud, E Exchange, Google, Yahoo, Aol, Outlook.  I use Hotmail and it usually opens to my Inbox.  Why did it do this and do I choose Outlook and is it safe to sign in? 

    It sounds like instead of opening your Mail App, you actually opened your Settings App, and were somehow in the 'Add Account' section of Mail, Contacts & Calendars.
    Close the apps, and then reopen just the Mail App.

  • Can anyone tell me how to restore my itunes library and playlists? After I downloaded mountain lion my library is missing and my devices can be synced to only one library ...the missing one

    can anyone tell me how to restore my itunes library and playlists? After I downloaded mountain lion my library is missing and my devices can be synced to only one library ...the missing one

    That .itl file actually is the library -- at least the critical part of it although the library is actually many files and folders.
    Try starting iTunes and immediately hold down the option key.  When it asks, guide it to the .itl file.
    It's really hard to say without being able to poke around your computer.  Upgrading should not delete the old library, but still it happens to the very, very few which is why we make backups before updating.  If the old library file is gone then so are your playlists.  You can always see if the following is of any use:
    iTunes: How to re-create your iTunes library and playlists - http://support.apple.com/kb/ht1451

  • How to upload email from outlook to a sharepoint document library programatically.

    Hi ,
    I have a requirement where I need to create a outlook plugin which will upload selected emails to sharepoint document library. I am able to hold email using by creating the object of outlook.item.  but could n't find a way to upload created com object
    in to sharepoint library.
    I need to use webservice to upload email to the document library.
    can some one please help me with this?
    Thanks.

    Hi,
    Base on the description, you want to upload email from outlook to a sharepoint document library programatically.
    We need to do it using Web Services, there's a purpose built web service here http://cecildt.blogspot.com/2010/10/upload-documents-to-sharepoint-2010.html‎
    for uploading documents.
    The other alternative is using email enabled document libraries
    https://www.nothingbutsharepoint.com/sites/itpro/pages/how-to-setup-mail-enabled-document-libraries-in-sharepoint-2010-part-4.aspx
    Best Regards,
    Linda
    Li

Maybe you are looking for