Outlook Address Books and Perl?

Ask a Question related to PERL Miscellaneous, Design and Development.

  1. #1

    Default Outlook Address Books and Perl?

    Are there any modules available that can read and/or write address books for
    Microsoft Outlook or Outlook Express? I couldn't find what I need on CPAN.

    Thanks
    -Mark


    Mark Guest

  2. Similar Questions and Discussions

    1. Outlook Address Book access by Acrobat
      I am a Windows XP user and a new Acrobat 6 user. After installing Acrobat, when I create a new email in Outlook I get a box that says "A program is...
    2. Outlook address display
      When you send a mass mailing (like my newsletter) to a group of addreses, the recepient receives it together with a long list of all other recepients...
    3. Shared address book for Outlook?
      I'm looking for software to set up a shared address book (names, email addresses, postal addressess, telephone numbers, etc) that can be used by...
    4. Outlook mail messages and address book
      We have 2 networked computers at home. Both are XP home. Me and my wife are defined on both computers. We have an email account that we have been...
    5. cannot forward my hotmail to my outlook address.
      I have some email that I want to forward to my oulook account, but every time I send ffrom hotmail, I get a meassgae back from postmaster@hotmail...
  3. #2

    Default Re: Outlook Address Books and Perl?

    On Sat, 13 Sep 2003 21:18:17 -0700
    "Mark" <nospam@thanksanyway.org> wrote:
    > Are there any modules available that can read and/or write address
    > books for Microsoft Outlook or Outlook Express? I couldn't find what
    > I need on CPAN.
    [url]http://search.cpan.org/[/url]
    search keyword: outlook

    first item thats shows is: mbx2mbox

    HTH

    --
    Jim

    Copyright notice: all code written by the author in this post is
    released under the GPL. [url]http://www.gnu.org/licenses/gpl.txt[/url]
    for more information.

    a fortune quote ...
    Actors will happen even in the best-regulated families.

    James Willmore Guest

  4. #3

    Default Re: Outlook Address Books and Perl?


    "James Willmore" <jwillmore@cyberia.com> wrote:
    > [url]http://search.cpan.org/[/url]
    > search keyword: outlook
    >
    > first item thats shows is: mbx2mbox
    Yes, but the several Perl modules that "read" an OE
    address book, actually require that the data be exported
    from OE first. OE only exports its address book as
    comma-separated values (*.CSV). Unfortunately, this is
    a useless format, since data fields in the OE address book
    fields can (and often will) contain commas. The output
    cannot be parsed reliably.

    So I was hoping for a Perl module that can actually read
    the OE address book's binary format directly.


    Mark Guest

  5. #4

    Default Re: Outlook Address Books and Perl?

    On Tue, 16 Sep 2003 10:05:54 -0700
    "Mark" <nospam@thanksanyway.org> wrote:
    > Yes, but the several Perl modules that "read" an OE
    > address book, actually require that the data be exported
    > from OE first. OE only exports its address book as
    > comma-separated values (*.CSV). Unfortunately, this is
    > a useless format, since data fields in the OE address book
    > fields can (and often will) contain commas. The output
    > cannot be parsed reliably.
    >
    > So I was hoping for a Perl module that can actually read
    > the OE address book's binary format directly.
    Ah ... well, you could examine the exported OE file in a hex editor to
    see if M$ put in some hidden characters. Or, you could see if the
    file follows a pattern and then code for that pattern (think pack or
    regular expression).

    All of these suggestions are based on opinion based upon some
    experience with other files that needed parsing. It _may_ look like a
    CSV file, but is it _really_ a CSV file? Is it something that, when
    looked at from a fresh perspective, something that can be parsed?

    HTH

    --
    Jim

    Copyright notice: all code written by the author in this post is
    released under the GPL. [url]http://www.gnu.org/licenses/gpl.txt[/url]
    for more information.

    a fortune quote ...
    If it's Tuesday, this must be someone else's fortune.

    James Willmore Guest

  6. #5

    Default Re: Outlook Address Books and Perl?

    > So I was hoping for a Perl module that can actually read
    > the OE address book's binary format directly.
    I'm afraid the only decent solution is OLE.

    Mihai
    Mihai N. Guest

  7. #6

    Default Re: Outlook Address Books and Perl?

    On Tue, 16 Sep 2003 10:05:54 -0700,
    Mark <nospam@thanksanyway.org> wrote:

    >
    >"James Willmore" <jwillmore@cyberia.com> wrote:
    >> [url]http://search.cpan.org/[/url]
    >> search keyword: outlook
    >>
    >> first item thats shows is: mbx2mbox
    >
    >Yes, but the several Perl modules that "read" an OE
    >address book, actually require that the data be exported
    >from OE first. OE only exports its address book as
    >comma-separated values (*.CSV). Unfortunately, this is
    >a useless format, since data fields in the OE address book
    >fields can (and often will) contain commas. The output
    >cannot be parsed reliably.
    >

    Not even with Text::ParseWords? It is my understanding that
    Text::Parsewords will deal with occurrences of the separator character
    within quoted strings.



    Villy
    Villy Kruse Guest

  8. #7

    Default Re: Outlook Address Books and Perl?

    In article <ZZqdnczS8eFx3_qiXTWc-w@speakeasy.net>,
    Mark <nospam@thanksanyway.org> wrote:
    >
    >"James Willmore" <jwillmore@cyberia.com> wrote:
    >> [url]http://search.cpan.org/[/url]
    >> search keyword: outlook
    >>
    >> first item thats shows is: mbx2mbox
    >
    >Yes, but the several Perl modules that "read" an OE
    >address book, actually require that the data be exported
    >from OE first. OE only exports its address book as
    >comma-separated values (*.CSV). Unfortunately, this is
    >a useless format, since data fields in the OE address book
    >fields can (and often will) contain commas. The output
    >cannot be parsed reliably.
    >
    >So I was hoping for a Perl module that can actually read
    >the OE address book's binary format directly.
    >
    There's some not-bad documentation on how to get this
    information via OLE on the Microsoft's technical web
    site. There are some knowledge assumptions, so you'd
    have to do a little experimentation.

    A couple of years ago i went through Microsoft's web site
    and found the OLE calls necessary to send mail. I posted
    my rough results on the perlmonks site. The code there
    doesn't answer your question, but it's be a good
    demonstration of setting up the OLE object properties for
    Outlook.

    --
    -john

    February 28 1997: Last day libraries could order catalogue cards
    from the Library of Congress.
    John M. Gamble Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139