Skip to content

A PowerShell app/function to send GDPR emails; powered by AnyBox.

License

Notifications You must be signed in to change notification settings

dbrennand/GDPR-Pwsh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GDPR-Pwsh

A PowerShell app/function to send GDPR emails; powered by AnyBox.

Are you tired of sending GDPR emails 📧 asking for organisations to delete your data? Then look no further! GDPR-Pwsh has got your back! 💪 Send consistent GDPR emails requesting that organisations remove your data 🗄️

Dependencies

The function on it's own doesn't require any dependencies. However, if you use the app, it requires the AnyBox module. When executing Show-GdprPwsh, the function will attempt to install AnyBox for you if it is not present on the host.

Installation

Import-Module -Name "{Full Path}\GDPR-Pwsh\GDPR-Pwsh" -Verbose

Email Image

EmailExample

Example Usage

  • NOTE: By default, the function uses smtp.gmail.com as it's default SMTP server.

  • See GDPR-Pwsh.psm1 for all parameters and examples.

Function (Send-GdprEmail)

$EmailPassword = "<Password Here>" | ConvertTo-SecureString -AsPlainText -Force
Send-GdprEmail -SmtpServer "smtp.office365.com" -EmailPassword $EmailPassword -Recipient "foo@email.com","bar@email.com" -From "foobar@outlook.com" -$Cc "foo@email.com","bar@email.com" -$Bcc "bar@email.com" -Verbose

App

Show-GdprPwsh

Authors -- Contributors

License

This project is licensed under the MIT License - see the LICENSE for details.