Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is Outlook MAPI compliant?
Message
From
02/10/2007 14:32:23
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Is Outlook MAPI compliant?
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01258035
Message ID:
01258035
Views:
58
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
Next
Reply
Map
View

Click here to load this message in the networking platform