Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Recieve Email Attachements
#1
How do I get save a file that is attached to an email?

Function GetEmail
Code:
Copy      Help
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
#2
Email Attachments
#3
Thanks. I thought I had posted about this before, but I couldn't find it in a search. I feel silly now.


Forum Jump:


Users browsing this thread: 1 Guest(s)