Scripted POP3 Connector
Script to download mails from POP3 Server, scan them with Aloaha and submit them to SMTP or Pickup
Please note that this API is able to connect to GMail as well. You need to change the POP3 Port settings to to 113 instead of the default 110.
Dim pop
Dim user
Dim password
Dim server
'create object
Set pop=CreateObject("module.wrapper")
'set server and credentials
server="pop3.aloaha.com"
user="testuser"
password="mypasswd"
'remoteport needs to configured only if it is different from the default 110 port. For example for GMail
'pop.remoteport = "110"
'dont read settings from database and use the specified ones
pop.dontreadpopsettings = True
'if false please leave messages on server - if true remove from remote server
pop.popdelete = False
'forward downloaded mails to specified address.
'If left empty object will figure the right values out
pop.forwardmail = "me@mydomain.com"
'specify if sending should be via pickup or smtp
'pop.PickupDirectory = "192.168.0.111:25"
'if via pickup (suggested way) you might want to specify it here
'pop.PickupDirectory = "c:\inetpub\mailroot\pickup"
'use pickup and autodetect it
pop.PickupDirectory = ""
'download and process mails
Call pop.proc_pop3(CStr(server), CStr(user), CStr(password))
'release object
Set pop=nothing
Aloaha Software / Knowledge Base / POP3 SDK / Scripted POP Connector