IPWorks EDI 2020 Python Edition

Questions / Feedback?

connect Method

Connects to an IMAP server.

Syntax

def connect() -> None: ...

Remarks

This method connects to the IMAP server specified by mail_server and authenticates using the user name and password supplied in the user and password properties.

Example (Connect IMAP Server)


IMAPControl.MailServer = "myserver"
IMAPControl.Mailbox = "INBOX"
IMAPControl.User = "myusername"
IMAPControl.Password = "mypassword"
IMAPControl.Connect()

IMAPControl.MailServer = "myserver"
IMAPControl.Mailbox = "DOMAIN/USERNT/INBOX"
IMAPControl.User = "myusername"
IMAPControl.Password = "mypassword"
IMAPControl.Connect()

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks EDI 2020 Python Edition - Version 20.0 [Build 8203]