Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parsing email files......
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00629377
Message ID:
00630031
Views:
24
John,

There's a couple of easy ways of working with an email body. If you have it in a string:
n = alines( laEmail, lcEmail )
for i = 1 to n
   ? laEmail[i]
endfor
if you want to work with it in a cursor
strtofile( lcEmail, "email.txt" )
create cursor email ( cLine c(254) )
append from email.txt type sdf
>I searched the faq's and did not find (or I missed it) info on how to parse a email that has been received. I'm going to be getting info from a cgi script via email and I'm wondering how to parse it out.
>
>Any directions to tutorials or suggestions would be appreciated. Thanks....
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform