Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending SMTP email
Message
 
To
21/11/2001 16:52:07
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00584720
Message ID:
00584729
Views:
29
Hi Jerry,

The SMTP service that comes with Win2K can be configured to require a username and password before it will accept outgoing e-mail. I would imagine other servers can be configured for that as well.

There was an article a while back in Windows 2000 magazine about how to use the built in SMTP server to send your outgoing email instead of sending it to your ISP's SMTP server.

>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
Previous
Reply
Map
View

Click here to load this message in the networking platform