Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Email with VFP6 to OUTLOOK

Status
Not open for further replies.

dakotafox

Programmer
Apr 14, 2000
53
US
We are attempting to use an auto email notification process at the end of various programs, such as night updating and major data transfer programs.

I have created the program using the following beginning type creation and connection and it functions perfectly from my IT computer.


oSess =CREATEObject("MSMAPI.MAPISession")

Other workstations get input screens asking for profile identifcation, and other stations just ignore the entire call to the app containing the email session.

Is this an OUTLOOK issue or is it a Foxpro Library issue where the user doesn't have all the libraries that development stations have?

Thank you
 
This is definitely an Outlook (version and/or security patches applied), an OS (type, version and/or security patches applied), or network profile or security level access problem. All VFP does with that statement, is try to get the system object reference for the registry defined MAPISession.

Rick
 
I have used marshall softwares email addon and it works like a charm. The nice thing is someone has already done all the code.
 
I am interested in the comment about "marshall software" in the previous response. I can find no reference to it at all on the WWW. Anyone have a URL for me ?

Don
 
It sounds like you do not have profiles set on each machine, or if they are, they are different.

You need to program something to check if there is a profile on the machine and what it is.

Or maybe you could ensure that all the machines have a profile that you will use from within your app.

I will be writing something for this, I've done something similiar b4, but not in a class. Its just getting the time.

In the mean time, try this....it may help.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top