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 = "first.second@mail-domain.com" Export.SMTPDisplayName = "Some person Name" 'Servers - pop3, smtp Export.SMTPServer = "smtp.mail-domain.com" Export.POP3Server = "pop3.mail-domain.com" 'Login informations Export.POP3UserName = "first.second@mail-domain.com" 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 |
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: info@pstruh.cz