$inbox = imap_open('{imap.gmail.com:993/imap/ssl}INBOX', '[email protected]', 'password', OP_READONLY);
=== inbound
server name = imap.gmail.com
port = 993
username = [the part in front of the @]
connection security = ssl/tls
authentication = normal password
=== outbound
server name = smtp.mail.yahoo.com
port = 465
user name = [the part in front of the @]
authentication = normal password
connection security = ssl/tls