Skip to main content

demo

import ssl

from client_263 import Mail263Client

if __name__ == '__main__':
    ssl_context = ssl.create_default_context()
    # don't check if certificate hostname doesn't match target hostname
    ssl_context.check_hostname = False
    # don't check if the certificate is trusted by a certificate authority
    ssl_context.verify_mode = ssl.CERT_NONE

    with Mail263Client('imap.263.net', 'your_email', 'your_password', ssl_context=ssl_context) as client:
        # rule_dict = {
        #     'rule_name': '规则标题',
        #     'sender': {'cond': 'include', 'text': sender_email},
        #     'recipient': {'cond': 'not include', 'text': recipient_email},
        #     'subject': {'cond': 'include', 'text': '估值表'},
        #     'size': {'cond': '>=', 'num': 20},
        #     'action': {'type': 'move', 'folder_name': 'TEST'}
        # }
        # resq = client.set_mail_rule(rule_dict)
        # resq = client.create_263mail_folder(folder_name)
        # mail_list = cliend.get_mails(folder_name,status='UNSEEN')[0]

Release files for mail263-w 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mail263-w 0.1.3
File Size Uploaded
mail263-w-0.1.3.tar.gz 4.8 kB Details

Release files / mail263-w-0.1.3.tar.gz

Download URL mail263-w-0.1.3.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
574846c87963dbe3a318d1c2c4fb9328bf58214d4fc57ba64df47ec6c3eb653b
BLAKE2b-256 checksum
How to use checksums
29b12e7f2fcce7227675ab631c341f91636ee220541e515e27ae4000a10e3fe7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.5

Release history Release notifications | RSS feed

This release

0.1.3 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page