Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using AOL/Opera
Message
 
To
19/11/2001 13:27:10
George Lechintan
Independent consultant
Sebes, Romania
General information
Forum:
Visual FoxPro
Category:
Web Services
Title:
Miscellaneous
Thread ID:
00583319
Message ID:
00583757
Views:
23
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.cSenderName = "Rick Strahl"

oIP.cSubject = "Title"
oIP.cBody = "Message body"

* oIP.cContentType = "text/html" && Send HTML email

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.
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform