PHP ActiveX
PHP ActiveX
Example: MailMan.FetchAll method
Demonstrates how to call the FetchAll method.Chilkat PHP ActiveX Downloads
<?php
$success = 0;
$success = 0;
$mailman = new COM("Chilkat.MailMan");
// Setup mailman with POP3 server and login settings...
// ...
// ...
$bundle = new COM("Chilkat.EmailBundle");
$keepOnServer = 1;
$headersOnly = 0;
// numBodyLines only applies if downloading headers-only.
$numBodyLines = 0;
$success = $mailman->FetchAll($keepOnServer,$headersOnly,$numBodyLines,$bundle);
if ($success == 0) {
print $mailman->LastErrorText . "\n";
exit;
}
// ...
// ...
?>