Download the PHP package pardnchiu/mailer without Composer
On this page you can find all versions of the php package pardnchiu/mailer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download pardnchiu/mailer
More information about pardnchiu/mailer
Files in pardnchiu/mailer
Package mailer
Short Description Lightweight PHP mailer client supporting SMTP sending, automatic configuration management, and complete email functionality. Built on PHPMailer, providing stable and reliable email sending experience.
License MIT
Homepage https://pardn.io
Informations about the package mailer
PHP Mailer
Lightweight PHP mail client with SMTP support, automatic configuration management, and complete email functionality.
Built on PHPMailer, providing stable and reliable email delivery experience.
- Three Core Features
- Automatic Configuration Management
- Bulk Sending Support
- Stable Connection
- Features
- Usage
- Installation
- Environment Variables Setup
- Basic Usage
- API Reference
- Basic Sending
- Bulk Sending
- Error Handling
- License
- Author
Three Core Features
Automatic Configuration Management
Automatically configure connection parameters based on environment variables, supporting multiple SMTP services
Bulk Sending Support
Support bulk email sending functionality, suitable for system notifications and high-volume sending needs
Stable Connection
Built-in error handling and automatic cleanup mechanisms to ensure reliable email delivery
Features
- Environment Variable Configuration: Flexible environment variable setup supporting multi-environment deployment
- SMTP Support: Support for multiple SMTP services with automatic encryption configuration
- HTML/Plain Text: Support for both HTML and plain text email formats
- Multiple Recipients: Support for multiple recipients, CC, and BCC
- Priority Settings: Support for high, normal, and low priority email sending
- Bulk Sending: Built-in bulk sending functionality for improved sending efficiency
- Automatic Cleanup: Automatic cleanup of recipient lists after sending
Usage
Installation
Environment Variables Setup
Basic Usage
Method 1: Static Call (Recommended)
Method 2: Instance Call
API Reference
Basic Sending
Mailer::send($config) - Send single email (static call)
Multiple Recipients
CC and BCC
Bulk Sending
Mailer::sendBulk($recipients, $subject, $body, $options) - Bulk email sending (static call)
Note: Bulk sending automatically adds a random interval of 1-3 seconds between each email to avoid triggering rate limits from email providers like Gmail and iCloud.
Error Handling
Connection Test
Bulk Sending Monitoring
License
This source code project is licensed under MIT.
Author
邱敬幃 Pardn Chiu
©️ 2025 邱敬幃 Pardn Chiu