yaronba has asked for the wisdom of the Perl Monks concerning the following question:

Hello,

Does any one knows how to create an email account using the outlook API ?

I know how to send mail using the API but can't find the way to create (and even change) email accounts.....

I can't even find it on the MSDN (with VB)...

Thanks...

Edited 13 Feb 2006, ~16:30 (Pacific) by footpad: Added <p> tags for simple formatting.

  • Comment on creating some outlook email accounts using Win32::OLE API

Replies are listed 'Best First'.
Re: creating some outlook email accounts using Win32::OLE API
by marto (Cardinal) on Feb 13, 2006 at 14:55 UTC
    yaronba,

    Outlook is an email client, I do not think you will be able to create an exchange account using this. Have you looked at any of the Exchange modules on Cpan? Perhaps the Win32::Exchange module is what your looking for?

    Martin
Re: creating some outlook email accounts using Win32::OLE API
by NetWallah (Canon) on Feb 13, 2006 at 18:04 UTC
    Excerpt from this MS KB 306962 article (Untested):

    Use the MAPI IProfAdmin interface
    This MAPI interface lets you programmatically create a profile without user interaction.

         "For every complex problem, there is a simple answer ... and it is wrong." --H.L. Mencken