Email and calendar sample files
EML messages and ICS calendar files for testing mail parsers and calendar import.
Formats in this category
| Format | What it is | Sizes |
|---|---|---|
| EML sample files.eml message/rfc822 | A single email saved as text: headers, a blank line, then the body. | 1 KB to 1 MB |
| ICS sample files.ics text/calendar | Calendar events in the iCalendar format, as used by meeting invitations and calendar subscriptions. | 1 KB to 1 MB |
About these files
Email and calendar data arrive in old, text-based formats with strict rules about line endings, line length and encoding. Software that imports them, such as help desks, CRMs and scheduling tools, needs conforming samples to test against.
All addresses use reserved example domains, so nothing here can send or receive real mail.
Ready-made samples
Hand-designed files with realistic content or a specific edge case.
| File | Format | Size | Contents | Download |
|---|---|---|---|---|
| Multipart email with HTML body and attachmentsample-multipart-attachment.eml | EML | 1.23 KB1,264 bytes | multipart/mixed containing multipart/alternative | Download EML |
Popular downloads by size
Jump straight to a file. Every size is exact to the byte.
Or browse every format at one size: 1 KB, 10 KB, 100 KB, 1 MB.
What to test
- File parser testing
Well-formed files and deliberate edge cases for testing code that reads CSV, JSON, XML, PDF and more.
- API testing
Payloads and attachments for testing REST endpoints that receive, return or transform files.
Related categories
Email and calendar files: questions
- Is there a sample with an attachment?
- Yes. The curated library has a multipart message with plain-text and HTML bodies and a base64-encoded CSV attachment.