An open API service indexing awesome lists of open source software.

https://github.com/scottgriv/powershell-send_email_script

A simple script to send an email using Microsoft PowerShell.
https://github.com/scottgriv/powershell-send_email_script

email-sender powershell utility utility-app utility-application utility-script

Last synced: about 2 months ago
JSON representation

A simple script to send an email using Microsoft PowerShell.

Awesome Lists containing this project

README

        







PowerShell Badge


GitHub Badge
Email Badge
BuyMeACoffee Badge


Bronze

---------------

PowerShell Send Email Script

A PowerShell script that sends a test email to a specified email address.
- Useful for testing email functionality and SMTP connectivity from a server.

---------------

## Table of Contents

- [What is PowerShell?](#what-is-powershell)
- [Getting Started](#getting-started)
- [Resources](#resources)
- [License](#license)
- [Credits](#credits)

## What is PowerShell?

PowerShell is a cross-platform task automation and configuration management framework, consisting of a command-line shell and scripting language. Unlike most shells, which accept and return text, PowerShell is built on top of the .NET Common Language Runtime (CLR), and accepts and returns .NET objects. This fundamental change brings entirely new tools and methods for automation.

## Getting Started

- Open the `send_email.ps1` file in a PowerShell editor on a Windows machine.
- Update the `$smtpServer`, `$smtpPort`, `$smtpUsername`, `$smtpPassword`, `$fromAddress`, `$toAddress`, and `$subject` variables with your SMTP server information and email addresses.
- Run the script to send a test email to the specified email address.

## Resources

- [PowerShell](https://learn.microsoft.com/en-us/powershell/scripting/overview?view=powershell-7.4)

## License

This project is released under the terms of **The Unlicense**, which allows you to use, modify, and distribute the code as you see fit.
- [The Unlicense](https://choosealicense.com/licenses/unlicense/) removes traditional copyright restrictions, giving you the freedom to use the code in any way you choose.
- For more details, see the [LICENSE](LICENSE) file in this repository.

## Credits

**Author:** [Scott Grivner](https://github.com/scottgriv)

**Email:** [[email protected]](mailto:[email protected])

**Website:** [scottgrivner.dev](https://www.scottgrivner.dev)

**Reference:** [Main Branch](https://github.com/scottgriv/powershell-send_email_script)

---------------