We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
I can't used php by imap_open for get all message in mail account from vesta cp
I can't used php by imap_open for get all message in mail account from vesta cp
I can't used php for get all message in mail account from vesta cp
I used to php for get all massage in mail account as json from vesta cp but don't work it. How can I fix it ?
by imap_open
Notice: Unknown: Can't connect to sev.cordrr.tk,143: Timed out (errflg=2) in Unknown on line 0
I used to php for get all massage in mail account as json from vesta cp but don't work it. How can I fix it ?
by imap_open
Code: Select all
<?php
$imap = imap_open("{cordrr.tk:143/imap/tls}INBOX", "[email protected]", "admin");
$headers = imap_headers($imap);
if (!$headers) {
print "Failed to retrieve headers\n";
} else {
foreach($headers as $header) {
print "$header\n";
}
}
imap_close($imap);
?>
-
- Posts: 12
- Joined: Sat Jul 15, 2023 9:33 am
- Contact:
- Os: CentOS 7x
- Web: apache + nginx
Re: I can't used php by imap_open for get all message in mail account from vesta cp
Check that the PHP IMAP extension is installed and enabled on your server.
Check it on
if yes then test if your server can connect to the mail server using telnet.
I'm hoping above steps find you to determine the way out of this.
Check it on
Code: Select all
<?php
phpinfo();
?>
Code: Select all
telnet sev.cordrr.tk 143