Hello!
I’m trying to set up a basic application that reacts to a special email(in a dedicated mailbox since xojo doesn’t support imap natively) but i"m having issues instancing the pop3s connection. I’ve added a POP3s socket (called MailSocket) and created a timer that runs this bit of code [code] Dim MailSocket as POP3SecureSocket
Dim Mails as integer
//instance POP3S socket
MailSocket.Address = MailSvr
MailSocket.Port = MailPort
MailSocket.username = EMailpass
MailSocket.password = EMailusr
MailSocket.connect
MailSocket.CountMessages
Mailsocket.MessageCount(Mails)
MailSocket.Disconnect
If Mails =! 0 then WOLrun = true
End IF
if WOLrun = True then
system.network.WakeOnLAN( IPAddress, MAC)
WOLRun = False
End IF[/code] but I’m getting all sorts of item not existing error related to the MailSocket object