1 Reply Latest reply on Aug 26, 2014 5:25 AM by Shrikant_Gavhane

    Unable to send test email message from power cli

    Shrikant_Gavhane Enthusiast

      Hi All,


      I am trying to send a test email message to my office ID for testing purpose but unable to do so. I am trying this operation on power cli. vCenter in my environment is already configured for SMTP alerts.


      Below is the command and error message I am getting.


      PowerCLI C:\> Send-MailMessage -Subject "test" -From "xxxxxxxxx@xxxxxxx.com" -To "xxxxxxxxxxxx@xxxxxxxx.com" -Body "testing" -SmtpServer xxx


      Send-MailMessage : Service not available, closing transmission channel. The server response was: 4.3.2 Service not available, closing transmission channel

      At line:1 char:17

      + Send-MailMessage <<<<  -Subject "test" -From "xxxxxxxxx@xxxxxxx.com" -To "xxxxxxxxx@xxxxxxx.com" -Body "testing" -SmtpServer xxx.xxx.xxx.xx

          + CategoryInfo          : InvalidOperation: (System.Net.Mail.SmtpClient:SmtpClient) [Send-MailMessage], SmtpException

          + FullyQualifiedErrorId : SmtpException,Microsoft.PowerShell.Commands.SendMailMessage



      Please assist.


      Thanks and Regards,