This example demonstrates the ease and flexibility of auto-forwarding messages to a different email address. There are four major actions:
** WARNING ** This example will delete all emails for the specified user account on the specified POP3 email server. You should use a test account for this example to ensure that critical data is not accidentally deleted.
Why Use this Feature?
This feature is useful for monitoring a POP3 email account for new email messages that you wish to retrieve on a regular basis and forward to another email address.
For example, suppose a company has a special email account for general inquiries. The handling of the incoming inquiries is done by different people (perhaps they rotate week on week or the usual person goes on vacation), this feature could be used to forward the inquiry emails to whomever is responsible to handle them for a given time period.
The user account you specify should have at least one email message on the POP server in order for this example to work. An email can be sent to the account you specify with a different example, click here.
Prepared Example Files
The archive contains one file:
Batch File Contents
This is the content of the batch file:
NetMailBot -receive -popwatch -popwatchwait 5000 -popdelete -server mail.domain.com -popuser email@example.com -poppassword test -popforward -to firstname.lastname@example.org -from email@example.com -popserver mail.domain.com
NOTE: The parameter -receive is required whenever using the POP3 parameters.
NOTE: Notice that we are not using the parameter -popreceive: this is because we are not actually storing the messages on the local hard drive "permanently" - they are only temporarily stored by NetMailBot for the purposes of forwarding them. -popreceive causes NetMailBot to store the messages (or their parts) in a directory of your choosing.