top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

imap_open use to read the sent mail using gmail

+1 vote
795 views

Hi,

I am using imap_open ("{imap.gmail.com:993/imap/ssl/novalidate-cert/norsh}Inbox, $user, pass) but want to access gmail sent box not the inbox. Please suggest how to proceed.

Thanks

posted Mar 13, 2013 by Salil Agrawal

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote
 
Best answer

Use

$mboxes = imap_getmailboxes($imap, "{imap.gmail.com:993/imap/ssl/novalidate-cert/norsh}, "*");
print_r($mboxes); 

To find mailbox names.

answer Mar 13, 2013 by anonymous
Similar Questions
+2 votes

I want to send an email every month to a list of recipients. How can I do that?

...