First Commit
This commit is contained in:
1 parent
5eb9dd037d
commit
2e62c0e60b
11877 files changed
+2035312
No files matched your search
+19
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
include "db.php";
|
||||
|
||||
$server = "localhost:993/notls/imap";
|
||||
$server = "mail.rainforestwebservices.com:993/imap";
|
||||
|
||||
$stream = @imap_open("{$server}Inbox", "mfester", "Taylor1999..");
|
||||
|
||||
if (!$stream) {
|
||||
echo("Could not connect to: $server\n");
|
||||
}
|
||||
else {
|
||||
$emails = imap_search($stream, 'SINCE '. date('d-M-Y',strtotime("-1 week")));
|
||||
}
|
||||
|
||||
imap_close($imap);
|
||||
|
||||
|
||||
?>
|
||||
Reference in new issue
Block a user