top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

imap_open use to read the sent mail using gmail

+1 vote
553 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?

Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...