Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Outlook Problem
Message
From
03/07/2014 16:03:35
 
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01603052
Message ID:
01603212
Views:
73
>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!?!?!?!


.
Previous
Reply
Map
View

Click here to load this message in the networking platform