Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sending SMTP email
Message
De
21/11/2001 16:52:07
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Titre:
Sending SMTP email
Divers
Thread ID:
00584720
Message ID:
00584720
Vues:
45
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform