IPWorks S/MIME 2020 Python Edition

Questions / Feedback?

retrieve_headers Method

Retrieves headers for a message specified by MessageNumber .

Syntax

def retrieve_headers() -> None: ...

Remarks

Calling this method will retrieve the headers for the message specified by the message_number property. The message headers will be provided by the on_header event and also stored in the message_headers property.

Example (Connect and Retrieve Message Headers)


POPControl.MailServer = "MyPOPServer"
POPControl.User = "username"
POPControl.Password = "password"
POPControl.Connect()

POPControl.MessageNumber = 1
POPControl.RetrieveHeaders()

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks S/MIME 2020 Python Edition - Version 20.0 [Build 7941]