>>>>>Hello, how i can send a report with e-mail.
>What I meant was print a report using set alte to etc. then in VFP code that follows send the email, if online, to the given address(es) as an attachment. I guessed that was the original requirement. I have heard winsock will do this for you.
>
I personally tried few methods so far: MapiMail class by Nigel Coates, SendMailWithGroupWise program by Robert Peirce with my modifications and finally IDSMail (commercial software). I saw here several other methods referenced in different threads. That's why I think, it would be a good idea to start a new thread on sending e-mails options and then somebody (may be you) will summarize them together in the FAQ here.
BTW, it would be nice to put information about producing report in "sendable" format as a separate FAQ too. With code snippets, suggestions, file references where appropriate.
Or discuss first on WiKi and then create a FAQ here. Sounds like a plan...
If it's not broken, fix it until it is.
My Blog