Registry / testing / robotframework-imaplibrary2

robotframework-imaplibrary2

JSON →
library0.4.11pypypiunverified

IMAPLibrary2 is a Robot Framework test library for testing IMAP email functionalities, such as fetching, deleting, and verifying emails. The current version is 0.4.11, with infrequent releases.

pip install robotframework-imaplibrary2
INSTALL
IMPORT
SIG · ROBOTFRAMEWORK-IMA
R
robotframework-imaplibrary2
testingpythonv0.4.11
Install
2.3s avg
Import
—
Disk
27MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.9–3.13
musl
3.9–3.13
Install & Compatibility
Where this runs
tested against v0.4.11 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 28MB
glibc
py 3.10–3.95 runs
installs and imports cleanly · install 2.3s · import 0.000s · 29MB
27MB installed
● package 27MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

IMAPLibrary2
✓ IMAPLibrary2
In Robot Framework, the library is imported by name, not Python module path. Use 'Library IMAPLibrary2' in .robot files.

Basic Robot Framework test that opens an IMAP mailbox and waits for an email.

*** Settings *** Library IMAPLibrary2 *** Test Cases *** Open Mailbox And Check Latest Email Open Mailbox host=imap.example.com user=${USER} password=${PASSWORD} ${latest} = Wait For Email timeout=30 Should Be Equal ${latest.subject} Hello World
Debug
Known issues
gotchaThe library keyword 'Open Mailbox' uses 'user' parameter, not 'username'. Many users mistakenly use 'username'.
fix
Use 'user' in Open Mailbox call.
affects: all
gotchaTimeouts in 'Wait For Email' are in seconds, not milliseconds. Common mistake is to pass a value that is too small.
fix
Pass timeout as seconds, e.g., timeout=30 for 30 seconds.
affects: all
deprecatedThe 'Open Mailbox' keyword's 'port' parameter is deprecated; use 'ssl' parameter instead if needed.
fix
Use 'ssl=True' for default IMAPS port 993, or specify 'port=993'.
affects: >=0.4.0
Upgrade
Version history
0.4.11latest on PyPI · released Feb 26, 2025
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
16
OpenAI (training)
1
Resources
robotframework-imaplibrary2 — pip install robotframework-imaplibrary2 · libregistry