Win32::Outlook::IAF - Internet Account File (*.iaf) management for Outlook Express/2000.
Version 0.96
use Win32::Outlook::IAF; my $iaf=new Win32::Outlook::IAF; my $src='MyAccount.iaf'; local $/; open(INPUT,"<$src") || die "Can't open $src for reading: $!\n"; binmode(INPUT); $iaf->read_iaf(<INPUT>); close(INPUT); # forgot your POP3 password? print $iaf->POP3Password(); $iaf=new Win32::Outlook::IAF( IMAPServer => 'imap.example.com', IMAPUserName => 'user@example.com', ); $iaf->IMAPSecureConnection(1); # set boolean value $iaf->IMAPSecureConnection('yes'); # .. in another way $iaf->IMAPUserName(undef); # delete this field $iaf->SMTPAuthMethod(IAF_AM_USE_INCOMING); # handy constants $iaf->SMTPPort('hundred'); # dies (not a number) $iaf->NonExistent(); # dies (can't access nonexistent field)
Allows to create SMTP, POP3, IMAP and HTTP email or NNTP news account configuration files, that can be imported by Microsoft Outlook Express/2000 clients.
Reverse operation is possible - all fields from such files can be decoded.
Creates a new object and sets specified fields values.
Reads binary data from the specified buffer and sets all decoded fields.
Writes all fields as binary data into the specified buffer.
Writes 'name - value' pairs as text into the specified buffer. Delimiter defaults to 'tab' character. Passwords are hidden with asterisks.
Account name displayed in list of accounts in Outlook or Outlook Express.
Unique ID of the account. Name of the registry key that stores the account settings.
Connection type used by account. One of the IAF_CT_* enumeration values.
Name of the dial-up account. This is used when ConnectionType() is set to IAF_CT_DIALUP.
SMTP server host name.
User name used when connecting to SMTP server.
Password used when connecting to SMTP server.
Prompt for password when logging on to SMTP server.
Authentication method required by SMTP server. One of the IAF_AM_* enumeration values.
SMTP server port.
Use secure connection (SSL) to the SMTP server.
Timeout in seconds for communication with SMTP server.
Display name of the user. This is used as a name in 'From:' mail header.
Organization of the user. This is used in 'Organization:' mail header.
Sender email address. This is used as the email address in 'From:' mail header.
Reply To email address. This is used as the email address in 'Reply-To:' mail header.
Break apart messages.
Break apart messages larger than the size in KB.
Registry key of the SMTP signature.
POP3 server host name.
User name used when connecting to POP3 server.
Password used when connecting to POP3 server.
Prompt for password when logging on to POP3 server.
Logon to POP3 server using Secure Password Authentication (SPA).
POP3 server port.
Use secure connection (SSL) to the POP3 server.
Timeout in seconds for communication with POP3 server.
Leave mail on POP3 server.
Remove messages from POP3 server when deleted from Deleted Items.
Remove messages from POP3 server after a period of days.
How many days to leave messages on POP3 server.
Do not include this account when receiving mail or synchronizing.
IMAP server host name.
User name used when connecting to IMAP server.
Password used when connecting to IMAP server.
Prompt for password when connecting to IMAP server.
Logon to IMAP server using Secure Password Authentication (SPA).
IMAP server port.
Use secure connection (SSL) to the IMAP server.
Timeout in seconds for communication with IMAP server.
Root folder path on IMAP server.
Use IMAP LSUB command.
Include this account when receiving mail or synchronizing.
Store special folders on IMAP server.
Sent Items folder path on IMAP server.
Drafts folder path on IMAP server.
Check for new messages in all folders on IMAP server.
HTTPMail server url.
User name used when connecting to HTTPMail server.
Password used when connecting to HTTPMail server.
Prompt for password when connecting to HTTPMail server.
Logon to HTTPMail server using Secure Password Authentication (SPA).
NNTP server host name.
User name used when connecting to NNTP server.
Password used when connecting to NNTP server.
Prompt for password when logging on to NNTP server.
Authentication method required by NNTP server. One of the IAF_AM_* enumeration values.
NNTP server port.
Use secure connection (SSL) to the NNTP server.
Timeout in seconds for communication with NNTP server.
Display name of the user. This is used as a name in 'From:' message header.
Organization of the user. This is used in 'Organization:' message header.
Sender email address. This is used as the email address in 'From:' message header.
Reply To email address. This is used as the email address in 'Reply-To:' message header.
Use newsgroups descriptions when downloading newsgroups list from NNTP server.
Include this account when receiving messages.
News posting format.
Registry key of the NNTP signature.
Connect using local network.
Connect using 3rd party dialer.
Connect using dial-up account.
Use IE connection setting.
SMTP server does not require authentication.
Logon to SMTP server using name and Secure Password Authentication (SPA).
Logon to SMTP server using incoming mail server settings.
Logon to SMTP server using name and plaintext password.
Use news sending format defined in program options.
Ignore news sending format defined in program options and post using plain text.
Ignore news sending format defined in program options and post using HTML.
Przemek Czerkas, <pczerkas at gmail.com>
<pczerkas at gmail.com>
You can find documentation for this module with the perldoc command.
perldoc Win32::Outlook::IAF
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Win32-Outlook-IAF
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Win32-Outlook-IAF
CPAN Ratings
http://cpanratings.perl.org/d/Win32-Outlook-IAF
Search CPAN
http://search.cpan.org/dist/Win32-Outlook-IAF
Please report any bugs or feature requests to bug-win32-outlook-iaf at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Win32-Outlook-IAF. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-win32-outlook-iaf at rt.cpan.org
Copyright 2007 Przemek Czerkas, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Win32::Outlook::IAF, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Win32::Outlook::IAF
CPAN shell
perl -MCPAN -e shell install Win32::Outlook::IAF
For more information on module installation, please visit the detailed CPAN module installation guide.