MOTOBIT.COM - ASP upload, IIS utility IMAPServer Property of Account class - IMAP Server

Property | Member of  EmailExport.Account | Changes | Purchase | Download


IMAP Server host. Server to connect.


vIMAPServer = Account.IMAPServer
Account.IMAPServer = vIMAPServer




Registry key: IMAP Server
Outlook express dialog position: Servers tab, incomming mail (IMAP)
If you specify IMAP server, the account will have type "IMAP". You can specify only one of server - IMAP, POP3, NNTP, HTTP.


Create IMAP configuration with SSL/SPA

Generates an simple IAF configuration file with SLL and SPA (secure password authentication).
Option Explicit

'Create account exporter object
Dim Export
Set Export = CreateObject("EmailExport.Account")

Export.AccountName = "My IMAP account"

'The IMAP server will be also connected 
'using secure connection (default port)
Export.IMAPServer = ""
Export.IMAPSecureConnection = True

'IMAPSecureConnection sets IMAP port to ipIMAPSSL
'You can coose any other port using IMAPPort property.
'Export.IMAPPort = 235

'The IMAP server uses SPA
Export.IMAPUseSicily = True

'The SMTP server will be connected using 
'secure connection (default port)
Export.SMTPServer = ""
Export.SMTPSecureConnection = True

'SMTP server is using the same settings as 
'IMAP server = SSL + SPA, the same password
Export.SMTPUseSicily = 02

'Save the IAF file.
Export.SaveIAFFile Export.AccountName & ".IAF"

See also

Account.HTTPMailServer, Account.POP3Server, Account.SMTPServer, Account.NNTPServer

Other links for IMAPServer

Methods of Account class

LoadIAFFile, SaveIAFFile

Properties of Account class

AccountID, AccountName, AdBarUrl, BackupConnectoid, BinaryIAF, ConnectionFlags, ConnectionType, Connectoid, DomainisMSNcom, ExpireDays, GotPollingInterval, HTTPMailFriendlyName, HTTPMailPassword, HTTPMailPolling, HTTPMailPromptforPassword, HTTPMailServer, HTTPMailUserName, HTTPMailUseSicily, IMAPDataDirectory, IMAPDirty, IMAPDraftsFolder, IMAPFullList, IMAPNOOPInterval, IMAPPassword, IMAPPollAllFolders, IMAPPolling, IMAPPort, IMAPPromptforPassword, IMAPRootFolder, IMAPSecureConnection, IMAPSentItemsFolder, IMAPServer, IMAPSvrsideSpecialFolders, IMAPTimeout, IMAPUseLSUB, IMAPUserName, IMAPUseSicily, LeaveMailOnServer, MakeAvailableOffline, NNTPDataDirectory, NNTPDisplayName, NNTPEmailAddress, NNTPOrganizationName, NNTPPassword, NNTPPolling, NNTPPort, NNTPPosting, NNTPPromptforPassword, NNTPReplyToEmailAddress, NNTPSecureConnection, NNTPServer, NNTPSignature, NNTPSplitMessages, NNTPSplitMessageSize, NNTPTimeout, NNTPUserName, NNTPUseSicily, OutlookCacheName, POP3Password, POP3Port, POP3PromptforPassword, POP3SecureConnection, POP3Server, POP3SkipAccount, POP3Timeout, POP3UserName, POP3UseSicily, RegF0033E12, RegF7033813, RegF7033A13, RemoveWhenDeleted, RemoveWhenExpired, ServerReadOnly, ShowAdBar, SMTPDisplayName, SMTPEmailAddress, SMTPOrganizationName, SMTPPassword, SMTPPort, SMTPPromptforPassword, SMTPReplyToEmailAddress, SMTPSecureConnection, SMTPServer, SMTPSignature, SMTPSplitMessages, SMTPSplitMessageSize, SMTPTimeout, SMTPUserName, SMTPUseSicily, TemporaryAccount, UseGroupDescriptions


Export of email account settings to the .iaf file format.


Email Account configuration exporter is an ActiveX/COM library, which let's you work with Outlook and Outlook Express email account configuration in VB script/JScript and other programming languages (t-SQL, C++, VBA, php, c#, Delphi...). You can create POP3, IMAP and HTTP email configurations or NNTP news account and export them directly from the script. You can export all fields, including servers, SPA, user names, emails, passwords, etc.

© 1996 - 2009 Antonin Foller, Motobit Software | About, Contacts | e-mail:

Other Motobit links:   IISTracer, real-time IIS monitor   ASP file upload - upload files to ASP. 
ActiveX/VBSScript registry editor  ActiveX NT User account manager  Export MDB/DBF from ASP Active LogFile  Email export  ActiveX/ASP Scripting Dictionary object