The first warning message means that no Outlook typelibrary is installed on your machine. This means that all Outlook constants like olFolder will not work. They are numerical values, so using them as strings make no sense. You can try and use Google to find the numerical value of each constant and then declare the constants yourself:
use constant 'olFolder' => 2; ...
In reply to Re^5: "Type mismatch" Error While Using Win32:OLE for MS Outlook
by Corion
in thread "Type mismatch" Error While Using Win32:OLE for MS Outlook
by dushyant
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |