SharePoint Powershell command to verify if the Outgoing Email Functions in Sharepoint Environment (Send Test Email Form SharePoint)

SharePoint Powershell command to verify if the Outgoing Email Functions in Sharepoint Environment (Send Test Email Form SharePoint) One can simply test outgoing email from SharePoint. With PowerShell you can send a test email from within SharePoint. Run the following code with SharePoint Management Shell (run as administrator) Command: $email = “Receiver@email.com” $subject = “Subject Of Email” $body = “Body Of Email, Test Text for … Continue reading SharePoint Powershell command to verify if the Outgoing Email Functions in Sharepoint Environment (Send Test Email Form SharePoint)

Get Client/User IP Address in ASP.NET

Often we collect the users information visited to our site for audit or records for analysis and security. We can get the value from ServerVariables collections of key “HTTP_X_FORWARDED_FOR” or “REMOTE_ADDR”. Sometimes our visitors are using either a proxy server or a router and the standard Request.UserHostAddress only finds the IP address of the proxy server or router. When this is the case the user’s … Continue reading Get Client/User IP Address in ASP.NET