Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Using Active Perl, how to connect to the Groupwise message store and process messages?

0
10 Posted

Using Active Perl, how to connect to the Groupwise message store and process messages?

0
10

First, connect to the Groupwise System Object — then get the Domain, Post Office, and finally a user name. Use the user name to connect to the Groupwise Session Object to get to the account’s messages. This assumes that a Groupwise 32-bit client is installed on your workstation. Code fragment: $gwsystem = “x:\\domain”; $System = new Win32::OLE(“NovellGroupWareAdmin”); $Session = new Win32::OLE(“NovellGroupWareSession”); $System->Connect($gwsystem); $Domain = $System->ConnectedDomain; $PostOffices = $Domain->PostOffices; $PostOffice = $PostOffices->Item(“My PostOffice”); $Users = $PostOffice->Users; # Get Users collection $UserIter = $Users->CreateIterator; Users: while (1) { $Myuser = $UserIter->Next || last Users; $username = $Myuser->Name; $Account = $Session->MultiLogin($username,””,”password”); …do stuff with messages… } 3.1 In Sendmail, how to add custom headers (X-CustomHeader) to every outgoing message? In your sendmail .mc file, configure a macro with the header informatio

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123