Posts Tagged: imap

PHP Accessing an IMAP Mailbox

This week I started playing around with PHP and a honeypot mailbox I had created some time ago. The following PHP is what I have been using thus far – plenty more work to do:   $hostname = ‘{imap.domain.uk:143/notls}INBOX’; $username = ‘honeypot’; $password = ‘topsecret’; $inbox = imap_open($hostname,$username,$password) or die(‘Cannot connect to Mail server as… Read more »