mirror of
https://github.com/retailcrm/Fetch.git
synced 2024-11-26 04:36:03 +03:00
Removed a test file which shouldn't have been staged.
This commit is contained in:
parent
35e80edaf3
commit
70f414cf3f
@ -1,15 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
require 'src/Fetch/Server.php';
|
|
||||||
require 'src/Fetch/Message.php';
|
|
||||||
require 'src/Fetch/Attachment.php';
|
|
||||||
|
|
||||||
$server = new \Fetch\Server('imap.gmail.com', 993);
|
|
||||||
$server->setAuthentication('iskoa.buggenie@gmail.com', '17my3Quqo28JU1yqQR50');
|
|
||||||
|
|
||||||
|
|
||||||
$messages = $server->search('unseen');
|
|
||||||
/** @var $message \Fetch\Message */
|
|
||||||
foreach ($messages as $message) {
|
|
||||||
echo "Subject: {$message->getSubject()}\nBody: {$message->getMessageBody()}\n";
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user