Step 1: Go to “Email box monitors” under Servers
Step 2: Click on Create new, to create a new email box monitor
Step 3: Fill out the following details in “Create new email box monitor”
- Hostname: The hostname of your IMAP/POP3 server.
- Username: The username of your IMAP/POP3 server, usually something like [email protected].
- Password: The password of your IMAP/POP3 server, used in combination with your username to authenticate your request.
- Email: Only if your login username to this server is not an email address. If left empty, the username will be used.
- Service: The type of your server (IMAP or POP3)
Port: The port of your IMAP/POP3 server, usually for IMAP this is 143 and for POP3 it is 110. If you are using SSL, then the port for IMAP is 993 and for POP3 it is 995.
- Protocol: The security protocol used to access this server. If unsure, select NOTLS.
- Validate URL: When using SSL/TLS, whether to validate the certificate or not.
- Search Charset: Search charset, defaults to UTF-8 but might require to leave empty for some servers or explicitly use US-ASCII.
- Disable authenticator: If in order to establish the connection you need to disable an authenticator, you can type it here. I.E: GSSAPI.
- Delete all Messages: By default, only messages related to the application are deleted. If this is enabled, all messages from the box will be deleted.
- How to Identify Subscribers: Subscriber UID means we will only identify subscribers who reply to a certain email campaign thus subscribers in a particular list. Email address means we will match subscribers with the given email address in all lists.
After filling out the details about your server, you can define conditions. For example,
- Condition: Contains
- Value: Unsubscribe me
- Action: Delete
- Will delete their email ID from the list
Step 4: Save Changes
Please note that the server settings will be checked when you save the server and the save process will be denied if there are any connection errors.
Also, this is a good chance to see how long it takes from the moment you hit the save button till the moment the changes are saved because this is the same amount of time it will take the script to connect to the server and retrieve the feedback emails.
Some of the servers, like gmail for example, are very slow if you use a hostname(i.e: imap.gmail.com). If that’s the case, then simply instead of the hostname, use the IP address.
You can use a service like hcidata.info to find out the IP address of any hostname.
When adding an email box monitor make sure the email address is used only for it, nothing more.
This is important since the script that checks the emails needs to read all the emails from the account you specify and besides it can be time and memory consuming, it will also delete all the emails from the email account.