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

Facebook Login
Site Registration
Print Preview

imap_open use to read the sent mail using gmail

+1 vote
526 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 Google+ Share Button LinkedIn Share Button Multiple Social 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?

+1 vote

I have configured 2 step verification on my Gmail account. After setting this I am unable to Login to Gmail from my phone. It says my password is incorrect. Do I need to configure anything now on my phone to access Gmail?


Useful Links with Similar Problem
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#470/147, 3rd Floor, 5th Main,
HSR Layout Sector 7,
Bangalore - 560102,
Karnataka INDIA.
QUERY HOME
...