>Hi. I want to use some statistics from my dbf's combined with text to send e-mails to my customers (to advise them of order status). I plan to use Nigel Cotes MAPIMAIL class (in download section). How would I programatically create the text file that makes up the body of the e-mail? It appears that it needs to be ASCII? I remember how simple it was in 2.6 DOS (set alternate..., a few @Say's and it was done)
>
>thanks, Randy
You have a few options:
1) The same way as 2.6
2) In code to a varible, then write it out with STRTOFILE()
3) Text merge (my preferred way)
4) Low level file functions (FWRITE(), etc)
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer