Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is Outlook MAPI compliant?
Message
De
02/10/2007 14:32:23
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Is Outlook MAPI compliant?
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01258035
Message ID:
01258035
Vues:
56
Hi,

I modelled a part of my application on the Solutions example for sending mail. Here's the code I use:
with Thisform.oMAPI
	m.lcEmailAddress = oApp.GetClientEmail(oApp.inPersonId)
	IF NOT EMPTY(m.lcEmailAddress)
		.AddRecipient(m.lcEmailAddress)
	ELSE
		x3MSGSVC("No Email address found for this client.")
	ENDIF 
	.AddAttachment(m.lcOutputFile)
	.cSubject = JUSTFNAME(m.lcOutputFile)
        .Send(.T.)
endwith
This works fine for my Thunderbird email program, but a client using Outlook 2003 says they get prompted with the normal Outlook "something else is trying to send email" message, but then nothing happens after they "allow it".

Should this work?
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform