Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending SMTP email
Message
From
21/11/2001 16:52:07
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
Sending SMTP email
Miscellaneous
Thread ID:
00584720
Message ID:
00584720
Views:
44
What is required for SMTP email to work? The following example works for me, if I dial into my ISP and use my smtp mail server info, etc...

However, in a distributed application, what will it take for an end-user to use this feature? I know if they have their own internet account with an smtp server, this will work. But what if they have MSN or AOL? How can this work for an end-user?

Also, can anyone that is currently connected to the internet use any valid smtp mail server with the following example? I understand that smtp does not use a username and password, then can anybody use any valid smtp mail server to send email?

SET CLASSLIB TO wwipstuff
oIP = CREATE("wwIPStuff")
oIP.cMailserver = "smtp.myserver.net"
oIP.cRecipient = "someemail@email.com"
oIP.cSenderEmail = "Some sender"
oIP.cSubject = "Subject"
oIP.cmessage = "Message body"
lnResult = oIP.Sendmail()

Thanks,

Jerryt
Next
Reply
Map
View

Click here to load this message in the networking platform