Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending Mail via SMTP
Message
 
To
08/12/2005 11:05:46
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01027287
Message ID:
01076444
Views:
21
>
> ulCDOField13=xCFG.Fields(13).Value
> ulCDOField15=xCFG.Fields(15).Value
>
>
>How are these 2 populated(13 and 15). I tested the code in my developement machine with Outlook Express and MS-Outlook and these has value on it. But when I tested this on a machine without MS-Outlook but with Outlook Express, the error message appear "... does not evaluate an Object".

For SMTP, the "SMTP Server Name" has to be retrieved from a store (like CDO) or "hard coded" or provided through a control value.

I have seen some threads relating to Express. Is Express the default outgoing male client on the system at issue. I remember I had to install Outlook (ugh) and then make sure it was the default "mailer" before I could render CDO.

Check to see that it is the "default" mailer!

Does MAPI give you anything usable? Here are some MAPI scriptlets (Outlook - I don't know if they are OL Express usable):
* Create and logon to Outlook Application Object
oOL=CREATEOBJECT('Outlook.Application')
oNS=oOL.GetNamespace("MAPI")
oNS.Logon
* Create a Contact Item
olContactItem=2
oCI=oOL.CreateItem(olContactItem)
oCI.FullName="Terry Thurber"
oCI.Email1Address="terryt@BadBoy.com"
I have some more script for outlook and I will check for info on express. I've read some messages from Sergey regarding OL Express. I don't know if Express is MAPI or has it's own "object".

Just a note. I went to a lot of effort building an "email messenger" for a project. While it was being tested, many of the users, i found, relied on a web browser client for their outgoing mail.

I finaly switched to XML Messaging and an ASP relay to manage email notices.
Imagination is more important than knowledge
Previous
Reply
Map
View

Click here to load this message in the networking platform