Batch Processing
Send high-volume personalized emails efficiently using the AhaSend CLI batch processing capabilities.Overview
Batch processing allows you to:- Send thousands of personalized emails
- Use concurrent workers for speed
- Track progress in real-time
- Automatically retry failures
- Generate performance metrics
Recipient File Formats
- CSV Format
- JSON Format
Create
recipients.csv
:Basic Batch Send
Performance Options
Concurrency Control
Performance Comparison
Concurrency | Emails/Hour | Use Case |
---|---|---|
1 | ~3,600 | Testing, low priority |
5 | ~18,000 | Standard campaigns |
10 | ~36,000 | Maximum throughput |
Progress Tracking
Error Handling
Automatic Retries
Failed Recipients Recovery
Failed recipients are automatically saved for retry:Template Personalization
Global and Per-Recipient Data
Best Practices
1. Test with Small Batches First
2. Use Idempotency Keys
3. Monitor Performance
Troubleshooting
Slow Performance: Increase--max-concurrency
up to 10 workers
High Failure Rate: Verify domains and check suppressions list
Memory Issues: Process large files in smaller chunks