Sitemap Sitemap  |  Contact Us Contact Us  |  Clients Clients
   OpenImapAccount
  Home |  WebHare Lite |  Downloads |  HareScript |  Websites/CMS |  Applications
Search for:  in: 
HareScript
Internet connectivity
 
File transfer (FTP)
Hypertext transfer (HTTP)
IMAP library
MIME and RFC822
POP3 email
Simple Mail Transfer Protocol (SMTP)
TCP/IP connections
OpenImapAccount
  This function will try to login to a IMAP server
 
Library wh::internet/imap.whlib
 
Syntax PUBLIC INTEGER FUNCTION OpenImapAccount (STRING serverip,INTEGER serverport,STRING username,STRING passwd)
 
Description This function tries to login on a IMAP server with a user name and password. When the login is succesful
the ID (>0) of the connection is returned. If -1 is returned by the function a wrong password was received.
IF -2 is returned there was no connection with the IMAP server. IF -3 is returned the IMAP server was not ready.
 
Parameters
serverip String containing the IP of the IMAP mail server
serverport Number of the port of the IMAP mail server
username The user name of the account to connect with
passwd The password of the account
 
Returns ID or error code
 
 
In library 'imap'
CloseIMAPAccount
CopyIMAPEmail
CreateIMAPMailfolder
DeleteIMAPEmail
DeleteIMAPMailFolder
GetIMAPEmaillisting
GetIMAPError
GetIMAPMailfolders
MoveIMAPEmail
OpenImapAccount
OpenIMAPEmail
OpenSecureImapAccount
RenameIMAPMailFolder
UploadIMAPBlobMessage
 
Top To top of page