MOTOBIT.COM - ASP upload, IIS utility Create simple email configuration with POP3 account data.

Sample for EmailExport | Changes | Purchase | Download


This sample generates simple IAF file - POP3 email account with basic properties - SMTP + POP3 servers, email address, person name, username and password.

Create simple email configuration with POP3 account data. 
Dim Export
'Create the export object
Set Export = CreateObject("EmailExport.Account")

'Set name of the account in Outlook
Export.AccountName = "My New Account"

'SMTP infou - outgoing name, email.
Export.SMTPEmailAddress = ""
Export.SMTPDisplayName = "Some person Name"

'Servers - pop3, smtp
Export.SMTPServer = ""
Export.POP3Server = ""

'Login informations
Export.POP3UserName = ""
Export.POP3Password = "Someveryloongpassword"

'Export the file
Export.SaveIAFFile "My-New-Account.IAF"

'Or from ASP
'  Response.AddHeader "Content-Disposition", "attachment;filename=""My-New-Account.IAF"""
'  Response.ContentType = "application/download"
'  Response.BinaryWrite Export.BinaryIAF

Other links for the Create simple email configuration with POP3 account data. sample


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