Skip to content

Instantly share code, notes, and snippets.

@tflight
Created March 21, 2018 13:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tflight/82350d6e14ee1ac89951231544105d14 to your computer and use it in GitHub Desktop.
Save tflight/82350d6e14ee1ac89951231544105d14 to your computer and use it in GitHub Desktop.
<?php
$mbox = imap_open("{mail.example.com:993/imap/ssl}", "username", "password");
if (!$mbox) {
echo 'fail';
}
echo 'success';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment