Skip to main content

Mail Client library for Robot Framework

Project description

MailClientLibrary

The MailClientLibrary is a Python based library for the Robot Framework that provides keywords to interact with mail clients using IMAP, POP3, and SMTP protocols. The library officially supports Python >= 3.8 and can be installed using pip.

Installation

To install the library, run the following command:

pip install robotframework-mailclient

Usage

After installing the library, you can import it into your Robot Framework test suite using the following line:

*** Settings ***
Library  MailClientLibrary

Or provide optionally the following arguments:

Library  MailClientLibrary  Username=UsernameStr  Password=PasswordStr  MailServerAddress=127.0.0.1  ImapPort=[993,143]  Pop3Port=[995,110]  SmtpPort=[587,26]

If these not provided as arguments it should be set during the test using provided setter keywords look in Keyword Documentation. The MailClientLibrary provides keywords for interacting with mail clients using IMAP, POP3, and SMTP protocols.

Contributions

You can install or test this library locally after editing the code. Ensure that all tests pass. For every added feature, it is expected that you add a corresponding test.

Use one of the following files according to your environment to install or run the tests:

Supported protocols

The MailClientLibrary supports the following protocols:

  • IMAP
  • POP3
  • SMTP

SSL support

The MailClientLibrary supports SSL for all protocols and is enabled per default. To disable SSL, simply use the UseSsl=True argument when using any keyword.

Keyword Documentation

The keyword documentation can be found in this Page.

License

The MailClientLibrary is released under the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

robotframework_mailclient-0.0.14.tar.gz (12.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

robotframework_mailclient-0.0.14-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

Details for the file robotframework_mailclient-0.0.14.tar.gz.

File metadata

File hashes

Hashes for robotframework_mailclient-0.0.14.tar.gz
Algorithm Hash digest
SHA256 b40fee320f8579338762f4783a16600f6b6c4aacadf758c1d3223833faf0660a
MD5 950907f38d531fc5d78d0d90e27fbc92
BLAKE2b-256 a38490bfa68f6d014e0fffbbe78fef1c6dd2de81d91a1688e24e133596b876b7

See more details on using hashes here.

Provenance

The following attestation bundles were made for robotframework_mailclient-0.0.14.tar.gz:

Publisher: publish.yml on noubar/RobotFramework-MailClientLibrary

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file robotframework_mailclient-0.0.14-py3-none-any.whl.

File metadata

File hashes

Hashes for robotframework_mailclient-0.0.14-py3-none-any.whl
Algorithm Hash digest
SHA256 7057324f224038c683b427e1308bae8982b1896c239ac017a1114b86c6f955dd
MD5 f2371efcabd11c594d1e746eaaec56b8
BLAKE2b-256 f3893e8840ec48cdc0011d16463df96d779315184523cf776ca81c734e6c3859

See more details on using hashes here.

Provenance

The following attestation bundles were made for robotframework_mailclient-0.0.14-py3-none-any.whl:

Publisher: publish.yml on noubar/RobotFramework-MailClientLibrary

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page