Announcement

Collapse
No announcement yet.

GMAIL mail receive - Getting email body: Please select folder first. Use SelectInbox

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    GMAIL mail receive - Getting email body: Please select folder first. Use SelectInbox

    Does anyone know why I am receiving this error on a very basic script?
    I am triggering an event on email receive using Gmail.

    This is in the system log:
    Getting email body: Please select folder first. Use SelectInbox(), ExamineInbox() or Select(String), Examine(String) method.

    PHP Code:
    sub main()
    dim index
    dim subject
    dim body
    index 
    hs.MailTrigger
    subject 
    hs.MailSubject(index)
    body hs.MailText(index)
    hs.writelog "Email" subject  " --- " body   
    end sub 
    Thank you!
    Attached Files


    ~Bill
Working...
X