I was stuck with the following error when I try to run my cronjob with POP3, NO SSL connection:
Testing your email settings ...ERROR: Could not connect !
Can't open mailbox {mycompany.com:110/pop3/novalidate-cert}INBOX: invalid remote specification
I resolved my problem with editing /components/com_rstickets/plugins/cron.php
Locate line 45:
$mbox = @imap_open("{".$T_SETTINGS['Email_Server'].":".$T_SETTINGS['Email_Server_Port'].$T_SETTINGS['Email_Server_Protocol'].$T_SETTINGS['Email_Server_Security']."/novalidate-cert}INBOX", $T_SETTINGS['Email_Address_Account'], $T_SETTINGS['Email_Address_Password']);
Remove "/novalidate-cert" because this is not a valid part for the mailbox connection string (
http://php.net/manual/en/function.imap-open.php):
$mbox = @imap_open("{".$T_SETTINGS['Email_Server'].":".$T_SETTINGS['Email_Server_Port'].$T_SETTINGS['Email_Server_Protocol'].$T_SETTINGS['Email_Server_Security']."}INBOX", $T_SETTINGS['Email_Address_Account'], $T_SETTINGS['Email_Address_Password']);