GithubHelp home page GithubHelp logo

Comments (7)

synox avatar synox commented on May 13, 2024

Try to access the backend directly and check the ouput. Also check the php-errorlog.

from disposable-mailbox.

zaingithub avatar zaingithub commented on May 13, 2024

Hi, thank you for reply. I have checked the httpd error log, it says directory of config.php not found. and then i set the root directory to require_once the config.php.

To access the backend directly, it shown a blank display. the page isn’t working.
i try using this : /backend.php?action=get&username=zain

from disposable-mailbox.

zaingithub avatar zaingithub commented on May 13, 2024

I am not sure how to setting up this :

// setup imap connection
$config['imap']['host'] = "45.32.105.20";
$config['imap']['url'] = '{' . $config['imap']['host'] . '/imap/ssl}INBOX';
$config['imap']['username'] = "mypassword";
$config['imap']['password'] = "mypassword";

// email domain, usually different from imap hostname:
$config['mailHostname'] = "mydomain.com";

i am using VPS centos, with IP above. And want to use mailhostname mydomain.com

after seeing the error log : [Wed Nov 23 22:06:09.439340 2016] [:error] [pid 4327] [client 36.78.59.59:53583] PHP Fatal error: Uncaught exception 'PhpImap\Exception' with message 'Connection error: Can't connect to 45.32.105.20,993: Connection refused' in /var/www/html/backend-libs/php-imap/php-imap/src/PhpImap/Mailbox.php:67\nStack trace:\n#0 /var/www/html/backend-libs/php-imap/php-imap/src/PhpImap/Mailbox.php(58): PhpImap\Mailbox->initImapStream()\n#1 /var/www/html/backend.php(63): PhpImap\Mailbox->getImapStream()\n#2 /var/www/html/backend.php(43): search_mails('benagra@horemp3...', Object(PhpImap\Mailbox))\n#3 /var/www/html/backend.php(117): print_inbox('benagra')\n#4 {main}\n thrown in /var/www/html/backend-libs/php-imap/php-imap/src/PhpImap/Mailbox.php on line 67, referer: http://45.32.105.20/

from disposable-mailbox.

synox avatar synox commented on May 13, 2024

Please verify the imap settings using an imap client. Maybe you have to adjust the imap settings in the url, after the slash. E.g. Disable ssl or disable ssl verification. See the options here: http://php.net/manual/en/function.imap-open.php

Most probably you have to adjust the port and ssl type.

from disposable-mailbox.

flowcr avatar flowcr commented on May 13, 2024

Can you help me with this error http://image.prntscr.com/image/6a3d2658757f4c5a87861532914eb651.png

from disposable-mailbox.

synox avatar synox commented on May 13, 2024

Just like the previous answer, check your settings in config.php.

Please verify the imap settings using an imap client. Maybe you have to adjust the imap settings in the url, after the slash. E.g. Disable ssl or disable ssl verification. See the options here: http://php.net/manual/en/function.imap-open.php

Most probably you have to adjust the port and ssl type.

from disposable-mailbox.

flowcr avatar flowcr commented on May 13, 2024

Thank you problem solved

from disposable-mailbox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.