Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending email
Message
From
26/07/2001 07:03:57
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Title:
Sending email
Miscellaneous
Thread ID:
00535589
Message ID:
00535589
Views:
57
Hi
I'd like to use foxmapi to send email in FPW26 but am having some problems.
Following the advice in KB article Q152279 (How To Send Mail Using MPSendMail() of FOXMAPI.FLL) I run into problems almost immediately.

1. tracing the sample code, when I Set Library To Foxmapi.fll, my subsequent Set("Library") command returns FOXMAPI.FXP and not FOXMAPI.FLL.

2. setting the library does actually create a FOXMAPI.FXP, but also a FOXMAPI.ERR with a load of errors, eg:
MZV
Error in line 1: Unrecognized command verb.
$
Error in line 2: Unrecognized command verb.

Error in line 3: Unrecognized command verb.

3. trying to access one of FOXMAPI's functions, namely MPLogon, creates this error:
File 'MPLOGON.PRG' does not exist.

If anyone can help I would be most grateful. Alternatively, if anyone knows how I can access MAPI.DLL directly to do it (send email in the background without user intervention) then that would do equally.
I don't want to use BLAT for various reasons.
Thanks in advance,
Barry
Next
Reply
Map
View

Click here to load this message in the networking platform