Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
14
Task/Send-email/PowerShell/send-email.psh
Normal file
14
Task/Send-email/PowerShell/send-email.psh
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
[hashtable]$mailMessage = @{
|
||||
From = "weirdBoy@gmail.com"
|
||||
To = "anudderBoy@YourDomain.com"
|
||||
Cc = "daWaghBoss@YourDomain.com"
|
||||
Attachment = "C:\temp\Waggghhhh!_plan.txt"
|
||||
Subject = "Waggghhhh!"
|
||||
Body = "Wagggghhhhhh!"
|
||||
SMTPServer = "smtp.gmail.com"
|
||||
SMTPPort = "587"
|
||||
UseSsl = $true
|
||||
ErrorAction = "SilentlyContinue"
|
||||
}
|
||||
|
||||
Send-MailMessage @mailMessage
|
||||
Loading…
Add table
Add a link
Reference in a new issue