>I am not sure if I understand how to use the code (i.e., do I put all of the code in one place, etc...). Using classes in FoxPro is new to me and it seems as though the code is defining a class and then calling it. Any help with this would be appreciated. Thanks
Most of the Wiki code relating to e-mail appears to be intended for a Prg file. As far as instantiating is concerned, your options ar determined by the version of VFP you are using:
Some one else can verify this, but I think VFP 7 introduced the OF clause. e.g.
LOCAL oMyObject AS SomeClass OF Prgs\ClassLibrary.Prg
In earlier versions you will need to do a SET PROCEDURE TO, before attempting to instatiate an object. e.g.
SET PROCEDURE TO Prgs\ClassLibrary
oMyObject = CreateObject( "SomeClass" )
Hope this helps.
censored.