Auteur de questions
Exchange server 2007, outlook 2007 and MAPI

Discussion générale
-
Good Morning,
We have an application that is using the default MAPI client to send EMAIL with attach file, at the moment a user have Exchange 2007 or Exchange 2010 server installed, it is possible to send an EMAIL only once, after that we never see the outlook Window appear to be able to send the EMAIL.
After some research I found that after sending the FIRST Email with MAPI there is a file that stay open in the %TEMP% directory for the user the name of the file is ExchangePErflogxxxxx.dat. IF I close my application and start it again, I'll be able so send ONE email with a file attachement to it.If I'm not attaching files to my EMAIL the function always work as expected, If I attach a file to the EMAIL after Outlook send the Email and the MAPI session is closed ,when I tried to open another MAPI SESSION nothing work !
When we open the MAPI session we don't give any profile name so we are using the default profile for the user defined for the Windows session.
Just want to say that I never setup an Exchange server, but I'm trying to help our customer to have their MAPI session work more than once ! :).
After a lot of reading it's not clear for me if the IT guys have to install the CDO package on each workstation with outlook (or TS session) to have MAPI to work as expected ?
If the mail client is not using Exchange server all our MAPI session work as expected !
Thank you for any information that will help me to solved the problem !
Best REgards,
Sylvain Robert
Je peux retranscrire en francais si nécessaire ! :)Merci
- Type modifié Roxana PANAITMicrosoft employee vendredi 16 septembre 2011 09:57 attente de feedback
Toutes les réponses
-
Bonjour,
Merci d’avoir contacté les forums TechNet France. La langue utilisée sur ces forums est la langue française, donc s’il vous plaît repostez votre question en française, comme on vous demande dans l’étiquette sur les forums TechNet France.
Merci pour votre compréhension et collaboration.
Bonne journée,
Florin
Florin CIUCA, MSFT
Votez! Appel à la contribution
Nous vous prions de considérer que dans le cadre de ce forum on n’offre pas de support technique et aucune garantie de la part de Microsoft ne peut être offerte. -
Bonsoir,
dans le cas d'applicatif utilisant MAPI, il est préférable créer un profil Outlook spécifique (qui sera spécifié dans l'application). Ce profil Outlook sera créé dans l'environnement (le profil Windows) qui est utilisé par l'application. Attention aussi à l'emplacement souhaité pour les messages envoyés. Si le compte d'envoi n'est pas toujours le même, il sera bon de prévoir/générer un profil Outlook différent pour chaque compte.
A+
Thierry DEMAN. Exchange MVP. https://www.mcpvirtualbusinesscard.com/VBCServer/MVPtdeman/profile (68 MCPs) http://base.faqexchange.info -
-
Bonjour Thierry,
Je vais m'installer Microsoft Exchange et outlook 2010, ici, pour tenter de reproduire le problème et trouver ce que les gens du TI ont oublié chez le client. J'avais vue cette procédure de création de profil pour outlook, mais n'ayant pas accès à mon desktop chez le client je ne peux pas savoir si ils ont fait la procédure !
Merci,
Sylvain
-
Bonjour,
Merci de nous tenir au courant avec les résultats des tests.
Cordialement,
Roxana
Roxana PANAIT, MSFT
Votez! Appel à la contribution
Nous vous prions de considérer que dans le cadre de ce forum on n’offre pas de support technique et aucune garantie de la part de Microsoft ne peut être offerte.