title: Using SMTPServer and Powershell to send emails, but what is the password parameter?
body: <p>I just used the tasty function of sending mails with powershell. 
  I use the -credentials parameter for login my windows account. Now I want the programm to send mails automatically without putting my password. 
  Is there a password parameter? Or is it to insecure?
  Do you guys have a way to put the password in from a secured file or whatever?</p>
  
  <p>Thats what I just used :</p>
  
  <pre><code>Send-Mailmessage -to "$recipients" -from "$sender" -Subject "Deployment Announcer" -body "Testmail" -SMTPserver "xxx.xx.xxx.xx" -Credential "Administrator" 
  </code></pre>