init
This commit is contained in:
commit
72a26edcff
22092 changed files with 2101903 additions and 0 deletions
29
scripts/ajax/ue_mail.php
Normal file
29
scripts/ajax/ue_mail.php
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
<?php
|
||||
//-------------------------- wichtige noch zu bearbeitende Änderungen !!!!!!!!!!! --------- HEUTE
|
||||
$server='{188.68.47.65:993/imap/ssl/validate-cert}INBOX';
|
||||
$adresse='dispo@jb-transport.de';
|
||||
$password='nV57eeeM';
|
||||
$mbox = imap_open($server, $adresse, $password, OP_READONLY);
|
||||
|
||||
|
||||
$imap = imap_open($dns,$email,$password ) or die("Cannot Connect ".imap_last_error());
|
||||
// if ($imap) {
|
||||
|
||||
$numMessages = imap_num_msg($imap);
|
||||
echo $numMessages;
|
||||
|
||||
// }
|
||||
echo $imap;
|
||||
/*
|
||||
$no=1;
|
||||
$headers = imap_headers($mbox);
|
||||
$text = imap_fetchbody($mbox, $no, 1);
|
||||
|
||||
for($i = 0; $i < count($headers); ++$i)
|
||||
{
|
||||
echo "Header: ".$headers[$i]."<br>";
|
||||
echo "Body: ".imap_fetchbody($mbox, $i+1, 1)."<br>";
|
||||
echo "<hr/>";
|
||||
}
|
||||
*/
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue