Mautic Community Forums

Constant connection could not be established

I’ve tried setting up the email with Amazon web service SES as well as smtp elasticemail but keep getting the below error:



Connection could not be established with host smtp.elasticemail.com [Connection timed out #110] Log data: ++ Starting MauticEmailBundleSwiftmailerTransportElasticemailTransport





I checked the error log which shows:



PHP Notice: Undefined index: {md-in-74.webhostbox.net:993/imap/ssl} in /home/xpricioj/public_html/ma/app/bundles/EmailBundle/MonitoredEmail/Mailbox.php on line 498





I checked the mailbox.php line 498 error :

480 {

481 static $folders = [];

482

483 if (!isset($folders[$this->imapFullPath]) && $this->isConfigured()) {

484 $tempFolders = @imap_list($this->getImapStream(), $this->imapPath, ‘*’);

485

486 if (!empty($tempFolders)) {

487 foreach ($tempFolders as $key => $folder) {

488 $folder = str_replace($this->imapPath, ‘’, imap_utf8($folder));

489 $tempFolders[$key] = $folder;

490 }

491 } else {

492 $tempFolders = [];

493 }

494

495 $folders[$this->imapFullPath] = $tempFolders;

496 }

497

498 return $folders[$this->imapFullPath];

499 }





I’ve hostgator multidomain plan. I’ve installed mautic through Softaculous panel for one of the hosted website. The mails individually are running fine but setting up mautic with Amazon Web Service SES or Elastic Email shows error. I’ve contacted them but they are also unable to resolve it. Even I contacted Amazon Web Service SES support and Elastic Email for the same, but none are able to resolve it.



I’ve tired most of the permutation combinations discussed in the forum - changing the TLS settings/ ports/ re-installing etc but no result.



Kindly suggest.

I’ve tried setting up the email with Amazon web service SES as well as smtp elasticemail but keep getting the below error:

Connection could not be established with host smtp.elasticemail.com [Connection timed out #110] Log data: ++ Starting MauticEmailBundleSwiftmailerTransportElasticemailTransport

I checked the error log which shows:

PHP Notice: Undefined index: {md-in-74.webhostbox.net:993/imap/ssl} in /home/xpricioj/public_html/ma/app/bundles/EmailBundle/MonitoredEmail/Mailbox.php on line 498

I checked the mailbox.php line 498 error :
480 {
481 static $folders = [];
482
483 if (!isset($folders[$this->imapFullPath]) && $this->isConfigured()) {
484 $tempFolders = @imap_list($this->getImapStream(), $this->imapPath, ‘*’);
485
486 if (!empty($tempFolders)) {
487 foreach ($tempFolders as $key => $folder) {
488 $folder = str_replace($this->imapPath, ‘’, imap_utf8($folder));
489 $tempFolders[$key] = $folder;
490 }
491 } else {
492 $tempFolders = [];
493 }
494
495 $folders[$this->imapFullPath] = $tempFolders;
496 }
497
498 return $folders[$this->imapFullPath];
499 }

I’ve hostgator multidomain plan. I’ve installed mautic through Softaculous panel for one of the hosted website. The mails individually are running fine but setting up mautic with Amazon Web Service SES or Elastic Email shows error. I’ve contacted them but they are also unable to resolve it. Even I contacted Amazon Web Service SES support and Elastic Email for the same, but none are able to resolve it.

I’ve tired most of the permutation combinations discussed in the forum - changing the TLS settings/ ports/ re-installing etc but no result.

Kindly suggest.

If you use Elasticemail, I suggest port 587, login with your api key as both username & password :slight_smile: