Using Google’s free smtp server
- No Comments
- Jan, 06, 2013
- Angelo Schalley
- Exchange, Networking
Google’s GMail offers a free SMTP server which can be used by anyone who has a GMail account.
If you don’t have a GMail account, you can create one at the GMail account creation page. (https://gmail.google.com)
Read more on Using Google’s free smtp server…
how to configure EWS on exchange using powershell
- No Comments
- Dec, 06, 2012
- Angelo Schalley
- Exchange, Windows-Microsoft
Check configuration :
Get-WebServicesVirtualDirectory |fl identity,internalurl,externalurl
Set internal EWS configuration
Set-WebServicesVirtualDirectory -Identity “MAIL01\EWS (Default Web Site)” -InternalUrl https://MAIL01.domain.local/EWS/Exchange.asmx -BasicAuthentication:$true
Set external EWS configuration
Set-WebServicesVirtualDirectory -Identity “MAIL01\EWS (Default Web Site)” -ExternalUrl https://something.domain.com/EWS/Exchange.asmx -BasicAuthentication:$true
Read more on how to configure EWS on exchange using powershell…
Powershell commandline mailing , send mail
- No Comments
- Dec, 19, 2010
- Angelo Schalley
- Exchange, Powershell, Windows-Microsoft
statusmailer.ps1 :
$data can be any data you want to send.
$data = Get-ChildItem “\\10.10.102.249\backup\” | sort-object -property @{Expression={$_.LastWriteTime}; Descending=$true} | format-table LastWriteTime,Length,Name -auto | out-string
$emailFrom = “backup@domain.be”
$emailTo = “user@domain.be”
$subject = “backupverslag LINIX”
$body = $data
$smtpServer = “10.10.10.1”
$smtp = new-object Net.Mail.SmtpClient($smtpServer)
$smtp.Send($emailFrom, $emailTo, $subject, $body)
Read more on Powershell commandline mailing , send mail…