Changeset 4a2b71777048…
Parent a141820a4935…
by Ben McCormack <benm@fogcreek.com>
Changes to one file · Browse files at 4a2b71777048 Showing diff from parent a141820a4935 Diff from another changeset...
@@ -52,12 +52,10 @@ $msg.From = $fromEmail
$msg.To.Add($toEmail)
$msg.subject = "Kiln Automated Backup"
-$msg.body = [string]::Join("`r`n",(Get-Content "$backupLogLocation\BackupScript.txt"))
+$msg.body = [string]::Join("`r`n",(Get-Content "$backupLogLocation\BackupScript.txt"))
-$logfile1 = new-object
-Net.Mail.Attachment("$backupLogLocation\BackupKiln.txt")
-$logfile2 = new-object
-Net.Mail.Attachment("$backupLogLocation\CopyToNetwork.txt")
+$logfile1 = new-object Net.Mail.Attachment("$backupLogLocation\BackupKiln.txt")
+$logfile2 = new-object Net.Mail.Attachment("$backupLogLocation\CopyToNetwork.txt")
$msg.Attachments.Add($logfile1)
$msg.Attachments.Add($logfile2)
|
Loading...