| Account | Export of email account settings to the .iaf file format. |
| ConnectionTypes | Specifies connection types of this email account to the internet. Local LAN connection, dial-up (modem) or dialer. | |
| IPPorts | Default IP ports for email account settings. | |
| tSMTPUsing | Type of connection to SMTP server |
| ||
| This sample generates simple IAF file - POP3 email account with basic properties - SMTP + POP3 servers, email address, person name, username and password. | ||
Dim Export
'Create the export object
Set Export = CreateObject("EmailExport.Account")
'Set basic properties.
Export.AccountName = "My New Account"
Export.SMTPEmailAddress = "first.second@mail-domain.com"
Export.SMTPDisplayName = "Some person Name"
Export.SMTPServer = "smtp.mail-domain.com"
Export.POP3Server = "pop3.mail-domain.com"
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 |
You cannot directly import IAF files from Email Configuration Exporter to Outlook 2003. You can use simple workaround: