Skip to content

RusbNoit/File_Format_Iaf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

File_Format_Iaf

This class can be used to parse and generate Outlook Express IAF configuration files

This class is php port of Perl package : Win32-Outlook-IAF http://search.cpan.org/dist/Win32-Outlook-IAF

All regards to Przemek Czerkas

Usage

require_once 'File_Format_Iaf.php';

$iaf = new File_Format_Iaf();

// если нужно, то загружаем из файла // if (!$iaf->load('mail.iaf')) echo 'error=' . $iaf->error();

$iaf->AccountName = 'Почтовый ящик [email protected]'; $iaf->MakeAvailableOffline = 1;

// pop3 настройки

$iaf->POP3Server = 'pop3.example.ru'; $iaf->POP3UserName = 'me'; $iaf->POP3Password = 'sfd7Dg24'; $iaf->POP3Port = 995; $iaf->POP3SecureConnection = 1; $iaf->POP3LeaveMailOnServer = 0; $iaf->POP3PasswordPrompt = 0;

// smtp

$iaf->SMTPDisplayName = 'Фамилия Имя'; $iaf->SMTPEmailAddress = '[email protected]'; $iaf->SMTPServer = 'smtp.example.ru'; $iaf->SMTPUserName = 'me'; $iaf->SMTPPassword = 'HJGhgsdf'; $iaf->SMTPPasswordPrompt = 0; $iaf->SMTPPort = 25; $iaf->SMTPSecureConnection = 1; $iaf->SMTPAuthMethod = 3;

// get all values // $iaf->getFields();

// get value // echo 'POP3Password = ' . $iaf->POP3Password;

// save to new file // $iaf->save('new.iaf');

// save to input file //$iaf->save();

// output to browser // $iaf->render();

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages