Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $host = "imap.gmail.com";
- $ssl = true;
- $port = 993;
- $folder = "Caixa de entrada";
- $user = "";
- $pass = "";
- $ssl= ($ssl == false) ? "/novalidate-cert" : "";
- $connection = imap_open("{"."$host:$port/pop3$ssl"."}$folder",$user,$pass);
- $check = imap_mailboxmsginfo($connection);
- var_dump((array)$check);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement