I assume this is a Fox app?
If you integrate SMTP email you need to ask the user for their email server so that they can send. Other than that it's just send the mail.
There are tools like wwIPStuff that acomplish this (
http://www.west-wind.com/wwipstuff.asp). Also, Mabry has an ActiveX control for SMTP and I'm sure tehre are others out there that I don't know about <g>...
With wwIPStuff it's a few lines of code like so:
oIP = CREATE("wwIPStuff")
oIP.cMailserver = "somemailserver.net"
oIP.cRecipient = "rstrahl@west-wind.com"
oIP.cSenderEmail = "rstrahl@West-wind.com"
oIP.cSubject = "Title"
oIP.cBody = "Message body"
lnResult = oIP.Send() (or oIP.SendMailAsync() )
IF lnResult # 0
? oIP.cErrorMsg
RETURN
ENDIF
+++ Rick ---
>Thanks Rick.
>
>I need that email handling for a shareware application that would email small pictures. I want to distribute on the net to thousands of people(hopefully) and I thought the best would be to use what they have on their computer, this way thay can have a history of what they did. It's something I do in my spare time.
>
>I didn't touch the email client aspect, I don't really know how it works but and I suppose if I would need my own smtp and everybody's emails would go thgough that right ?
>
>Any further advice is welcome.