Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Visual FoxPro - Outlook 2000 - sending faxes
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Visual FoxPro - Outlook 2000 - sending faxes
Divers
Thread ID:
01073227
Message ID:
01073227
Vues:
51
Dear all

Wonder whether any of you can help. We send faxes using Visual FoxPro 8
using the outlook.application object. Since updating to version 8 of Visual
FoxPro the faxes get stuck in the Outbox and the only way to send them is
to come out of Outlook and then go back in again. It only happens in
Outlook 2000.

Here is my code
oOutlook = CREATEOBJECT("Outlook.Application")
oEmailItem = oOutlook.GetNameSpace("MAPI")
oMessage = oEmailItem.GetDefaultFolder(4)
oNewMessage = oMessage.items.add()

WITH oNewMessage
	.Recipients.add('[FAX:' + ALLTRIM(m.FaxNumber) + ']')
	.Attachments.Add(ALLTRIM(m.Attachment))
		
	IF thisformset.Preview
		.display(.t.)
	ELSE
		.Send()
	ENDIF
ENDWITH
Kind regards

David
Anagram Systems
Répondre
Fil
Voir

Click here to load this message in the networking platform