This example demonstrates how to configure an auto-reply to an incoming email. This feature is useful for monitoring a POP3 email account for new email messages that you wish to auto-reply to.
The user account you specify should have at least one email message on the POP server in order for this example to work. If you need to do so, an email can be sent to the account you specify by using one of our other examples; click here.
Prepared Example Files
The archive contains one file:
Batch File Contents
This is the content of the batch file:
NetMailBot.exe -receive -popreply 1 -popserver mail.domain.com -popuser firstname.lastname@example.org -poppassword secret -body "Thank you for your interest!" -from email@example.com -server mail.domain.com
NOTE: The parameter -receive is required whenever using the POP3 parameters; this parameter puts NetMailBot into what might be called "POP3 mode" as opposed to "SMTP mode" which is for sending mails.
NOTE: Recall that your SMTP server may require authentication; see this example for more information.