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.

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.12.tar.gz (12.3 kB view hashes)

Uploaded Source

Built Distribution

robotframework_mailclient-0.0.12-py3-none-any.whl (17.8 kB view hashes)

Uploaded Python 3

Supported by

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