Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6102237
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T13:35:29+00:00 2026-05-23T13:35:29+00:00

OK so my issue is that I created some code in php to connect

  • 0

OK so my issue is that I created some code in php to connect to GMAIL I got it to work for POP but not for IMAP and Im not sure what the issue is. While using the pop authhost it produced the connected header, and while using the imap authhost I get a page where it displays a 101 error net::ERROR_CONNECTION_RESET.

The following is the code Im using:

$authhost="{imap.gmail.com:993/imap/ssl/novalidate-cert}INBOX";
$user="username";
$pass="password";

if ($mbox=imap_open( $authhost, $user, $pass ))
{
    echo "<h1>Connected</h1>\n";
    imap_close($mbox);
}   else
{
    echo "<h1>FAIL!</h1>\n";
}

The solutions I tried to fix the problem was enabling ssl, imap extension which were enabled awhile back anyways. Also I disabled my firewall, but it didn’t fix the problem either. I restarted my WAMP a couple of times to see if it did anything and that didn’t work.

Hopely someone can tell me what Im doing wrong : /

*EDIT**

I fixed the issue by reinstalling WAMP and activating the imap module in apache called imagemap and it works :).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T13:35:30+00:00Added an answer on May 23, 2026 at 1:35 pm

    I fixed the issue by reinstalling WAMP and activating the imap module in apache called imagemap and it works :).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created a nested list with drag/drop functionality. My issue is that I
Sample: I've created a minimal set of files that highlight the issue here: http://uploads.omega.org.uk/Foo3.zip
I've got a very old php application (1999) that has been worked on during
I am using CodeIgniter framework for PHP . There are some pages that are
I am trying to connect to a facebook API, but found some issues. The
At this present point in time I have some code that does the following:
Not sure if this is possible, but it's become an academic struggle now. Using
Here's my issue, I'd like to mock a class that creates a thread at
I'm trying to create a page that contains a grid and searching. The issue
The issue that prompted me to ask this is a web form that was

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.