kGetMail attachments
Keywords:
Question:
Can winbatch monitor incoming mail messages and copy any attachments to a specific directory?Answer:
Maybe something like this...
AddExtender("WWPST34I.DLL") host="mail.server.com" fromaddr="user@server.com" userid="username" password="pswd" port="" msgnumber="" extractfile="" mailbox="" flags="" kInit(host,fromaddr,userid,password,port) While 1 DirChange("c:\temp\attachments") allmsgs=kGetMail(msgnumber,extractfile,"",mailbox,flags) Timedelay(1) endwhile exit
Article ID: W14431Filename: kGetMail attachments.txt