Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to send E-mail
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00039292
Message ID:
00039832
Vues:
55
>>>Do you have it go to sleep periodically? Would the FoxPro WAIT command help? Also, how do you know whether an E-mail was successfully sent to the SMTP server? Does MailX Extension handle these issues?
>>
>>If you plan to deliver at least 5000 emails per day, then you should consider having a dedicated server.
>>
>>After a sendmail, you can check the error code to see the status.
>
>How do you check for the error code? Do you use the return value from Windows API WinExec(), or do you use some other method?

Whenever you use an OCX, you usually get the error from it by using properties or methods.

In the case of MailX, there is a property ErrCode or something like that which always contains the last method result. If it's 0, it's ok. Otherwise, you can take action base on the error returned.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform