Installation
Installation
This page covers installing aspose-email-foss 26.3 into a Python project.
Prerequisites
| Requirement | Detail |
|---|---|
| Python | 3.10 or later (python --version to check) |
| pip | Included with modern Python |
Install via pip
pip install aspose-email-fossVirtual Environment Setup
python -m venv .venv
source .venv/bin/activate # Linux/macOS
# .venv\Scripts\activate # Windows
pip install aspose-email-fossVerify the Installation
from aspose.email_foss.msg import MapiMessage
msg = MapiMessage.create("Test subject", "Test body")
print(f"Subject: {msg.subject}")If you see the subject printed without errors, the package is installed correctly.
Next Steps
- Getting Started: Overview and quick-start example
- Developer Guide: MSG operations, properties, and attachments