Posts: 1,000
Threads: 253
Joined: Feb 2008
How do I get save a file that is attached to an email?
Function
GetEmail
ARRAY(str) sPaths; ARRAY(MailBee.Message) sMailBee; int count
count=ReceiveMail(_s 0 "$desktop$\email" sPaths sMailBee)
for _i 0 sMailBee.len
,MailBee.Message& m=sMailBee[_i]
,str subj from
,subj=m.Subject
,from=m.FromAddr
,out "subject=%s, from=%s" subj from
Posts: 12,140
Threads: 142
Joined: Dec 2002
Posts: 1,000
Threads: 253
Joined: Feb 2008
Thanks. I thought I had posted about this before, but I couldn't find it in a search. I feel silly now.