note 37104 added to function.imap-open
| From: | marshall at rn2 dot php dot net | Date: | Mon, 03 Nov 2003 16:50:37 +0000 |
| Subject: | note 37104 added to function.imap-open | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-59721@lists.php.net to get a copy of this message | ||
Thanks for all your comments. The user comments have saved me countless times.
I'd like to give back in my small way by providing this little tip. To test your pop or imap
services you can use telnet (almost all operating systems should come with a command line telnet
client).
Here's the pop3 example (the lines that start with + are the server's response):
telnet your.pop.host.com 110
+OK POP3 your.pop.host.com v2001.78 server ready
user your_username
+OK User name accepted, password please
pass your_password
+OK Mailbox open, 23 messages
Note that your pop server may be on some other port than 110 but that is the default/standard.
Here's the imap example (Lines that have OK near the begining are server responses):
telnet your.imap.host.com 143
* OK [CAPABILITY IMAP4REV1...]
1 LOGIN "your_username" "your_password"
1 OK [CAPABILITY...] ... User your_username authenticated
This might be old news to some people but I hope it's helpful for many.
----
Manual Page -- http://www.php.net/manual/en/function.imap-open.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+37104
Delete -- http://master.php.net/manage/user-notes.php?action=delete+37104&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+37104&report=yes
Search -- http://master.php.net/manage/user-notes.php