# sendmail.tcl

**Category:** mIRC_Addon
**Original Author:** Unknown

## Description
This script provides a simple command for sending emails from within an IRC client using the `.send` command.

## Key Features
- **.send <mail> <message>**: Sends a message to a specified email address.
- **Email Validation**: Ensures that the provided mail address is in the correct format before attempting to send the message.

## File Analysis
- **sendmail.tcl** — Contains the script logic for handling the `.send` command and sending emails. It binds the `dcc -|- send` event to trigger the `send_mail` procedure, which processes the arguments and sends the email using the `exec echo` and `mail` commands.