For at least two years (or more) the following code has been running with no problems.
Now it runs, but nothing ever shows up on the target end.
I have transported the code to three different platforms... same results.. no email on the target.
CDO2000 does not return any error codes.... I am at...
The following code (VFP9 sp2) works fine except that when the email is delivered the value of
".cFrom" is ignored and replaced with the value in ".cUserName" which I do not want, what am I missing ?
.... code....
WITH loMail
.cServer = "smtp.comcast.net"
.nServerPort = 465
.lUseSSL = .T...
thanks for all the help..I now have a properly formatted SDF file (final.txt)
Next obstacle, using CDO2000 as my email package want to display the contents of final.txt in the body of the message.
.cTextBody = ??
I know that I could always just attach final.txt, but to have it part of the...
Been away fro VFP for years and of course now I cannot figure out a code segment for a very simple query.
SELECT pilot, flt_time from flights ORDER BY launch TO FILE temp
OK fine, creates a TXT file as wanted.
Want to add:
SELECT pilot, flt_time+" minutes" from flights ORDER BY launch TO...
I followed your advise and checked my version of CDO2000 against the one you found at
cdo2000 at https://www.foxite.com/archives/multiple-attachmen...
Both the same, thanks again
Thanks guys for all the input
My working solution may not be the best.... but being 80 years old I will stay with it before I screw it up.
BTW VFP 9 SP2
Seems that my version of CDO2000 does not like Path statements... this works fine with the files in the same directory.
LOCAL lcFiles
SET SAFETY off
COPY FILE C:\onedrive\GHSAdata\dispatcher\flights.dbf to flights.dbf
COPY FILE C:\onedrive\GHSAdata\dispatcher\flights.cdx to flights.cdx
COPY...
Got to have a mind block here
Error.. cannot find the last file.. but it is there... is there another syntax for multiple file attachments?
.cAttachment = "C:\onedrive\GHSAdata\dispatcher\flights.dbf, ;
C:\onedrive\GHSAdata\dispatcher\flights.cdx, ...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.