Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Outlook Problem
Message
De
03/07/2014 16:03:35
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01603052
Message ID:
01603212
Vues:
74
>Tore,
>
>memail is the email address of the customer to whom the email is being sent.
>It actually worked twice, but now it won't. And the error seems to be occurring
>on every email I'm trying to send.

Brad - He is asking you to check, in the debugger, what is the *value* of the variable when you code is running. You know, like sometimes when things don't contain the values that we expect them to. So, he's asking you to check that and make sure it is populated with a valid string and email address. Also, you may need to do an AllTrim() on it to remove trailing spaces.

Also, he was asking you to make sure the file that you are referencing really does exist on disk. Again, a case where the value of the variables can bite you. So, perhaps you should add a call the the File() function to make sure the "mfile" file really exists, or else your code may fail.

Hey, isn't coding fun!?!?!?!


.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform