This sample is using ASP Upload object from Motobit software site. You can see this sample working live on Online IAF password recovery page.
| Decode email configuration from uploaded file. | |
|---|---|
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 | |
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