Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?PHP
- $user = "email@domain.com";
- $password = "password123";
- $mbox = imap_open("{exchange01:993/imap/ssl/novalidate-cert}", $user, $password);
- $message = imap_fetchbody($mbox,1,1);
- print_r($message);
- if($mbox)
- {
- imap_close($mbox);
- };
- ?>
- <html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=iso-8859-1"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v:* {behavior:url(#default#VML);}
- o:* {behavior:url(#default#VML);}
- w:* {behavior:url(#default#VML);}
- .shape {behavior:url(#default#VML);}
- </style><![endif]--><style><!--
- /* Font Definitions */
- @font-face
- {font-family:"Cambria Math";
- panose-1:2 4 5 3 5 4 6 3 2 4;}
- @font-face
- {font-family:Calibri;
- panose-1:2 15 5 2 2 2 4 3 2 4;}
- @font-face
- {font-family:Verdana;
- panose-1:2 11 6 4 3 5 4 4 2 4;}
- @font-face
- {font-family:"Neo Sans Std";}
- /* Style Definitions */
- p.MsoNormal, li.MsoNormal, div.MsoNormal
- {margin:0cm;
- margin-bottom:.0001pt;
- font-size:11.0pt;
- font-family:"Calibri",sans-serif;
- mso-fareast-language:EN-US;}
- a:link, span.MsoHyperlink
- {mso-style-priority:99;
- color:#0563C1;
- text-decoration:underline;}
- a:visited, span.MsoHyperlinkFollowed
- {mso-style-priority:99;
- color:#954F72;
- text-decoration:underline;}
- span.E-postmall17
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement