Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 28291 invoked from network); 4 Jun 2009 08:18:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Jun 2009 08:18:37 -0000 Received: (qmail 15651 invoked by uid 500); 4 Jun 2009 08:18:46 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 15628 invoked by uid 500); 4 Jun 2009 08:18:46 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 15618 invoked by uid 99); 4 Jun 2009 08:18:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Jun 2009 08:18:44 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of pratik.potnis@gmail.com designates 209.85.200.170 as permitted sender) Received: from [209.85.200.170] (HELO wf-out-1314.google.com) (209.85.200.170) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Jun 2009 08:18:36 +0000 Received: by wf-out-1314.google.com with SMTP id 24so213862wfg.15 for ; Thu, 04 Jun 2009 01:18:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=XWLkkjzBdi5S+QbWKoGGuwxUwZH20RFXp+9djYLE/Ik=; b=rnRxNf/HFfI6m6cVnwQDamYqMGfQ+1CJqgbAhXkgjuuZrjbnwHSDNuJr4DHt+ncBrn s2ZMnDyRtrV43dBzspnJ/MwlMGZ+Dwok/F3PZr8TfAcWb6fc0w62xn2evOwBbtoPB4BS O02wOZ7st38LwGjHKYwpLne8mghqdDxphkoEk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=EOpkr+0b2KHX9GGLVY3QouX4yIOoEBb5Y04aCnfNH+vjg31lKdtf/NYGKUUZg++1cH rkCDLdk617PHTVQfJ8+yn9oW5WR1W478tOmGncdJp/LeXJMyoKNyghWHMthDsB6j9rt9 WPyr2t42Anu1BBvFtMwKEQnqSk0taGv7Y/LgA= MIME-Version: 1.0 Received: by 10.142.43.7 with SMTP id q7mr662590wfq.160.1244103495745; Thu, 04 Jun 2009 01:18:15 -0700 (PDT) Date: Thu, 4 Jun 2009 13:48:15 +0530 Message-ID: <597be94b0906040118l1d70ed7fx2dab57231653120@mail.gmail.com> From: pratik potnis To: users@httpd.apache.org Content-Type: multipart/alternative; boundary=000e0cd30470ed82b8046b816a88 X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] Microsoft outlook and apache compatibility --000e0cd30470ed82b8046b816a88 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi, I have written couple of Python scripts to use win32com interface to access Microsoft outlook through MAPI session. This Python script is part of web application which I have built in Django. I am trying to host Django web application on Apache. Everything else works fine but when access to outlook comes exceptions are thrown, Both the scripts are same attempt to acces Outlook. Lets see my first script : SCRIPT #1> session = win32com.client.Dispatch("Mapi.Session") session.Logon() this snippet shows me exception : Collaboration Data Objects - [MAPI_E_LOGON_FAILED(80040111)]] SCRIPT #2> outlook = win32com.client.Dispatch("Outlook.Application") When flow comes to this line outlook crash message window flashes. Both these scripts work well on command prompt and Django development server giving me appropriate output. Please let me know if any solution is present for this Regards Pratik --000e0cd30470ed82b8046b816a88 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,


=A0I have written couple of Python scripts to use win32com i= nterface to access Microsoft outlook through MAPI session. This Python scri= pt is part of web application which I have built in Django.
I am trying = to host Django web application on Apache. Everything else works fine=A0 but= when access to outlook comes exceptions are thrown,

Both the scripts are same attempt to acces Outlook.
Lets see my firs= t script :
SCRIPT #1>
session =3D win32com.client.Dispatch("= Mapi.Session")
session.Logon()
this snippet shows me exception := =A0 Collaboration Data Objects - [MAPI_E_LOGON_FAILED(80040111)]]

SCRIPT #2>
outlook =3D win32com.client.Dispatch("Outlook.Ap= plication")
When flow comes to this line outlook crash message wind= ow=A0 flashes.

Both these scripts work well on command prompt and Dj= ango development server giving me appropriate output.

Please let me know if any solution is present for this

RegardsPratik


--000e0cd30470ed82b8046b816a88--