Trying to set alert on discussion post. The SharePoint development environment has set up on windows 7 machine with installed SharePoint 2010 foundation.
I have to set up
Outgoing E-Mail Settings from my central admin portal. Since I provided the required parameters. and tried to run
$email = "firstname.lastname@example.org" $subject = "Test subject" $body = "Test body" $site = New-Object Microsoft.SharePoint.SPSite "http://myspsite" $web = $site.OpenWeb() [Microsoft.SharePoint.Utilities.SPUtility]::SendEmail($web,0,0,$email,$subject,$body)
False in result. However, I checked for the SMTP settings for outgoing emails. but everywhere the links given for Windows server machines like this, but not for Windows 7 to get his work. What all settings I need in my current environment ?