imap-ping-server
imap-ping-server is a compiled Lisp function in `imap.el
'.
(imap-ping-server &optional BUFFER)
Ping the IMAP server in BUFFER with a "NOOP" command.
Return non-nil if the server responds, and nil if it does not
respond. If BUFFER is nil, the current buffer is used.