Skip to content

Uncaught Error: Class 'greeny\MailLibrary\Contact' not found in #25

@1d0navan

Description

@1d0navan

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions