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 6075925
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T10:32:56+00:00 2026-05-23T10:32:56+00:00

So, I have I’m making a PHP Mail website for myself, and I don’t

  • 0

So, I have I’m making a PHP Mail website for myself, and I don’t like how it refreshes every time I click a new mail/email/folder etc.

So, I was wondering if their is a way (I know their is, and with AJAX from what I’ve collected through Google), to have it log me in to a new mailbox, differing with the folder or with the actual email/host/ports/passwords.

Example:

If I click on an email in the list, it loads the “Message View” and refreshes ONLY that part of the webpage with the message. So it’d just be:

echo imap_fetchbody($mbox,$mID,1);

where $mbox is just the mailbox, and $mID is just the message number.

Further, and similarly, I would like it to do the same for the actual imap_open function, as to change the email/port/host on a click, but again, NOT refresh the page as a whole, but rather just the folders/message listing.

$mbox = imap_open ("{".$imaphost.":".$imapport."/imap/ssl}" . $folder , $email , $password); 

Where all the variables are what they say, but they can change on the hyperlink click of a list of my emails.

I hope I was thorough enough, and I really just need either a tutorial, or a clear explanation of how this works/how I can get it to work.

Thanks a lot and have a good evening!

  • 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-23T10:32:56+00:00Added an answer on May 23, 2026 at 10:32 am

    This tutorial might get you started:

    http://www.jensbits.com/2009/10/04/jquery-ajax-and-jquery-post-form-submit-examples-with-php/

    The tutorial uses form variables so you may want to send your variables using the data parameter in the ajax or post function:

    data: ({id : this.getAttribute('id')}),
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
this is what i have right now Drawing an RSS feed into the php,
Have converted devise new session from erb to Haml but doens't work, this is
Have advancements in CPU design like dynamic instruction scheduling narrowed the performance gap between
have an an array String classname[]={'a','b','c','d'}; ArrayAdapter<CharSequence> adapterClasses = new ArrayAdapter<CharSequence>( getApplicationContext(), R.layout.spinner_item_class, R.id.spinnerclasstxt,
Have anyone used Redmine Documentor which lets you convert PHP to HTML to Redmine
Have a website project in MVC3 C # where I retrieve information from the
I have some data like this: 1 2 3 4 5 9 2 6
Have some code: using (var ctx = new testDataContext()) { var options = new
Have just started using Google Chrome , and noticed in parts of our site,

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.