Hello Team,
I am new to use zimbra. I want to fetch mail from the Zimbra server with the help of Imap. I am successfully able to make connection with zimbra but when it comes to fetching mail for one day it will return nothing. Please help me.
As I already tried all this with Gmail, Yahoo, or another mail server it works perfectly with this code.
this is my code, Please help me.
I am doing all this in PHP.
Thank you
I am new to use zimbra. I want to fetch mail from the Zimbra server with the help of Imap. I am successfully able to make connection with zimbra but when it comes to fetching mail for one day it will return nothing. Please help me.
As I already tried all this with Gmail, Yahoo, or another mail server it works perfectly with this code.
Code:
$imap = imap_open($server_host, $server_username, $server_password);
$date = date("j-M-Y", strtotime("-1 day"));
$emailCollection = imap_search($imap, 'SINCE ' . $date);
this is my code, Please help me.
I am doing all this in PHP.
Thank you
Statistics: Posted by _vipin.shrivastava_ — Fri Jul 30, 2021 4:37 am