The Little Guy Posted March 27, 2008 Share Posted March 27, 2008 I cannot figure this out. <?php $mbox = imap_open("{mailbox}", "username", "password", OP_HALFOPEN) or die("can't connect: " . imap_last_error()); ?> what do I replace mailbox with? I have tried my email server: spacey.dreamhost.com But that doesn't work, I just get this message: Warning: imap_open() [function.imap-open]: Couldn't open stream {spacey.dreamhost.com} in /home/.marble/brend123/hostbox.us/createMailbox.php on line 2 can't connect: No such host as spacey.dreamhost.com Link to comment https://forums.phpfreaks.com/topic/98105-imap-imap_open/ Share on other sites More sharing options...
The Little Guy Posted March 27, 2008 Author Share Posted March 27, 2008 OK, I found out if I use mail.tzfiles.com, I will get this: Warning: imap_open() [function.imap-open]: Couldn't open stream {mail.tzfiles.com} in /home/.marble/ryannaddy/tzfiles.com/createMailbox.php on line 2 can't connect: Certificate failure for mail.tzfiles.com: unable to get local issuer certificate: /C=US/ST=California/L=Brea/O=Dreamhost.com/OU=Security/CN=*.mail.dreamhost.com/[email protected] Link to comment https://forums.phpfreaks.com/topic/98105-imap-imap_open/#findComment-501905 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.