-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
Hello,
the application can`t find greeny\MailLibrary\Contact in the folders.
i just inserted
use greeny\MailLibrary\Drivers\ImapDriver;
use greeny\MailLibrary\Connection;
use greeny\MailLibrary\Mail;
use greeny\MailLibrary\Mailbox;
use greeny\MailLibrary\Contact;
use greeny\MailLibrary\ContactList;
at the start.
To echo everything out, testwise - i wrote this little test for:
$driver = new ImapDriver('ahhwahhah@gawkg.de', 'awgahiwiNI"N82ng', 'mailserver.de', 993, TRUE);
$connection = new Connection($driver);
$connection->getMailboxes();
$mailbox = $connection->getMailbox('INBOX.Trash');
$selection = $mailbox->getMails();
$selection->limit(5);
foreach($selection as $mail)
{
?>
<div style="width: 500px; height: 100px; overflow-y: scroll; margin-bottom: 20px;">
<?php echo $mail->xRequestFrom; ?>
</div>
<?php
}
Metadata
Metadata
Assignees
Labels
No labels