Returns or sets Account settings as binary data in IAF structure (IAF file)
vBinaryIAF = Account.BinaryIAF ([IgnoreErrors as Boolean = fale])
Account.BinaryIAF ([IgnoreErrors as Boolean = fale]) = vBinaryIAF
Where | Type | Optional | Default | Description |
---|---|---|---|---|
IgnoreErrors | Boolean | yes | fale | Ignore errors in IAF structure. |
Binary safe array
You can use this function to directly output email account data from ASP or ASP.Net page.
Export Outlook email configuration from ASP/VB Script |
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" Response.ContentType = "application/download" Response.AddHeader "Content-Disposition", "attachment; filename=""My New Account.IAF""" Response.BinaryWrite Export.BinaryIAF Response.End |
Decode email configuration from uploaded file. |
This sample is using ASP Upload object from Motobit software site. You can see this sample working live on Online IAF password recovery page. |
Dim Form: Set Form = Server.CreateObject("ScriptUtils.ASPForm") If Form.State = 0 Then 'completed 'Create the export object Dim Export Set Export = CreateObject("EmailExport.Account") On Error Resume Next Export.BinaryIAF = Form("IAFFIle").ByteArray If err<>0 Then Response.Write "<font style=color:red>" & Err.Description & "</font>" Else Response.Write "<br> AccountName: '<b>" & Export.AccountName & "</b>'" Response.Write "<br> SMTPPassword: '<b>" & Export.SMTPPassword & "</b>'" Response.Write "<br> POP3Password: '<b>" & Export.POP3Password & "</b>'" Response.Write "<br> HTTPMailPassword: '<b>" & Export.HTTPMailPassword & "</b>'" Response.Write "<br> IMAPPassword: '<b>" & Export.IMAPPassword & "</b>'" Response.Write "<br> NNTPPassword: '<b>" & Export.NNTPPassword & "</b>'" End If End If |
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: info@pstruh.cz