Hi Team,
Firstly, congrats on the great product. I was so impressed that I ended up buying the Advanced Pack and am a happy customer
I did run into an issue yesterday. I was setting up an inbound email with the following settings:
Host: mail.ourhealthmate.com
SSL: No
Port:143
along with my username and password
Note that we do not have SSL configured on our server, so I have to keep it disabled and connect on port 143.
When I try to select a folder, it says "Cannot connect to IMAP server". Checking the logs, it gives the following error:
---------------------------
(
[controller] => InboundEmail
[action] => getFolders
)
, InputData: - cannot connect to host ; error = fsockopen(): unable to connect to ssl://mail.ourhealthmate.com:143 (Unknown error) (errno = 0 ) [] []
[2015-05-04 10:30:24] Espo.ERROR: Display Error: cannot connect to host ; error = fsockopen(): unable to connect to ssl://mail.ourhealthmate.com:143 (Unknown error) (errno = 0 ), Code: 0 URL: /espocrm/api/v1/InboundEmail/action/getFolders?host=mail.ourhealthmate.com&port=143&ss l=false&username
---------------------------
It seems that even though I have de-selected SSL, it still tries to connect using the ssl protocol (ssl://mail.ourhealthmate.com:143). To double check whether this was truly causing the error, I ran this php code:
---------------------------
$smtp_host = 'mail.ourhealthmate.com';
$smtp_port = 143;
if (!($socket = fsockopen($smtp_host, $smtp_port, $errno, $errstr, 15))) {
echo "Could not connect to smtp host '$smtp_host' ($errno) ($errstr)", __FILE__, __LINE__;
}
else {
echo "Connection successful";
}
---------------------------
I got the result as "Connection successful". I tried finding out which part of the code was causing this issue and got a little lost when I started going through Zend's mail framework.
Can you please help?
Firstly, congrats on the great product. I was so impressed that I ended up buying the Advanced Pack and am a happy customer
I did run into an issue yesterday. I was setting up an inbound email with the following settings:
Host: mail.ourhealthmate.com
SSL: No
Port:143
along with my username and password
Note that we do not have SSL configured on our server, so I have to keep it disabled and connect on port 143.
When I try to select a folder, it says "Cannot connect to IMAP server". Checking the logs, it gives the following error:
---------------------------
(
[controller] => InboundEmail
[action] => getFolders
)
, InputData: - cannot connect to host ; error = fsockopen(): unable to connect to ssl://mail.ourhealthmate.com:143 (Unknown error) (errno = 0 ) [] []
[2015-05-04 10:30:24] Espo.ERROR: Display Error: cannot connect to host ; error = fsockopen(): unable to connect to ssl://mail.ourhealthmate.com:143 (Unknown error) (errno = 0 ), Code: 0 URL: /espocrm/api/v1/InboundEmail/action/getFolders?host=mail.ourhealthmate.com&port=143&ss l=false&username
---------------------------
It seems that even though I have de-selected SSL, it still tries to connect using the ssl protocol (ssl://mail.ourhealthmate.com:143). To double check whether this was truly causing the error, I ran this php code:
---------------------------
$smtp_host = 'mail.ourhealthmate.com';
$smtp_port = 143;
if (!($socket = fsockopen($smtp_host, $smtp_port, $errno, $errstr, 15))) {
echo "Could not connect to smtp host '$smtp_host' ($errno) ($errstr)", __FILE__, __LINE__;
}
else {
echo "Connection successful";
}
---------------------------
I got the result as "Connection successful". I tried finding out which part of the code was causing this issue and got a little lost when I started going through Zend's mail framework.
Can you please help?
Comment