php - Read-only access for Gmail IMAP to connect -
i connected read-only access in github repo- aroundzoho . how can achieve it?
$inbox = imap_open(email_hostname,email_username,email_password) or die('cannot connect gmail: ' . imap_last_error()); $date = date("d m y", strtotime ( "-1 days" )); $emails = imap_search($inbox, "since \"$date\"", se_uid);
Comments
Post a Comment