Virtual SMTP

220 share-app.test.local Microsoft ESMTP MAIL Service, Version: 7.5.7601.17514 ready at Mon, 2 Sep 2013 11:21:36 +0400


250 share-app.test.local Hello []
mail from:
250 2.1.0….Sender OK
rcpt to:
501 5.5.4 Unrecognized parametercpt to:
rcpt to:
250 2.1.5
354 Start mail input; end with <CRLF>.<CRLF>
subject: test email
hi user
test body
250 2.6.0 <SHARE-APPNwMi7GuqA400000001@share-app.test.local> Queued mail for del

221 2.0.0 share-app.test.local Service closing transmission channel

Connection to host lost.

Press any key to continue…

Virtual SMTP

Clear SharePoint cache

1.  Stop SP Timer process

2. Drive:\ProgramData\Microsoft\SharePoint\Config\GUID

  1. Back up the Cache.ini file.
  2. Delete all the XML configuration files in the GUID folder.
  3. Double-click the Cache.ini file.
  4. On the Edit menu, click Select All.
  5. On the Edit menu, click Delete.
  6. Type 1, and then click Save on the File menu.
  7. On the File menu, click Exit.

3. Start SP Timer process

Clear SharePoint cache

PowerShell Script to List All Users in All Groups

also check

$site = Get-SPSite http://yourservername/sites/yoursitecollection 

$groups = $site.RootWeb.sitegroups

foreach ($grp in $groups) {"Group: " + $; foreach ($user in $grp.users) {"  User: " + $} }


to view domain accounts and email address,. add:
{"  User: " + $; "  User: " + $; "  User: " + $user.userlogin}


To get users directly assigned to a site (SPWeb) or to any object (list, item, etc) there are three properties to check: .Users, .AllUsers and .SiteUsers.

SPWeb.Users gets the collection of user objects that are explicitly assigned permissions in the Web site. It will not return users who have access through a group.

SPWeb.AllUsers gets the collection of user objects that represents all users who are either members of the site collection or who have browsed to the site as authenticated members of a domain group in the site.

SPWeb.SiteUsers gets the collection of all users that belong to the site collection.

So in PowerShell:

Get-SPWeb | Select Users

Get-SPWeb | Select AllUsers

Get-SPWeb | Select SiteUsers
PowerShell Script to List All Users in All Groups

Import termset






excel macro to create termset file:



Import termset