$HashSend = @{ 
    Body = 'Hello' 
    From = 'Nicolas.Baudin@frpsug.fr' 
    SmtpServer = 'mail.frpsug.fr' 
    Subject = 'Envoie par PowerShell'  
    To = 'stephane.vangulick@frpsug.fr' 
    Port = 465  
    UseSsl = $true 
} 
 
Send-MailMessage @HashSend
