is the same .. any change i'm tryng with example.php
<?php
require_once 'getEmail.class.php';
$email = new processEmail();
$email->server = "{imap.gmail.com:993/imap/ssl/novalidate-cert}";
/**
* Your login details go here
*/
$email->login = "
[email protected]";
$email->password = "utalca2013564866";
/**
* If you want to delete emails after getting them, set this to true - ideal for a ticketing system
*/
$email->deleteAfterRetr = false;
/**
* Test the connection before hand
*/
try {
$valid = $email->testConnection(); // Test the connection
} catch (processEmailException $e) {
die('ERROR: ' . $e->getMessage());
}
try {
if ($valid) { // So everything is okay with the connection
$email->connect();
$email->getMessages();
}
} catch (processEmailException $e) {
die('ERROR: ' . $e->getMessage());
}
// Quick and dirty output to show the example
?>