Question:
With the property "loImap.SelectMailbox(Labelx)" I can work with Labelx="Inbox", but I can not work with Labelx="Spam" How to work with Spam box with IMAP?
Write code such as this:
http://www.example-code.com/foxpro/imap_listMailboxes.asp
to list the mailboxes you have available. Then you'll know what string should be passed to SelectMailbox for the SPAM mailbox.
Thanks. It is "[Gmail]/Spam"