473,657 Members | 2,513 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PHP IMAP Functions

In the PHP manual (http://us3.php.net/imap) it reads:
LIX. IMAP, POP3 and NNTP Functions
Introduction

These functions are not limited to the IMAP protocol, despite their name. The underlying >c-client library also supports NNTP, POP3 and local mailbox access methods.


Can someone tell me where to go to find out how these functions work in
relation to POP3?

Thank you,
Trevor

Jan 18 '06 #1
1 1603
Al
Trevor wrote:
Can someone tell me where to go to find out how these functions work in
relation to POP3?


I think the idea is just to use the functions as if you were connecting
to a pop3 server.

The page for imap_open
(http://us3.php.net/manual/en/function.imap-open.php), for instance
mentions pop3 in the "flags" section of the "mailbox name" parameter.
It even gives a small example:

// To connect to a POP3 server on port 110 on the local server, use:
$mbox = imap_open ("{localhost:11 0/pop3}INBOX", "user_id", "password") ;
It's best just to browse the pages and see what they have to say about
any time pop3 has to be specified or something. If it doesn't say
anything, I think you can assume that you can just get on with
programming as if IMAP.

Sorry if that's no help.

Jan 18 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
5035
by: Marko | last post by:
Hi, I was just wondering if there is a way to connect to the secure imap server (port 993) without having --with-imap-ssl option turned on. I have --with-imap and --with-openssl and recompiling php is not an option (I'm not the server owner). Any suggestions/links are appreciated. Thanks, Marko
3
4385
by: Joachim Smit | last post by:
Is it possible to extract the email-body from a IMAP-mail-file ? The function 'imap_body()' expects that I'm connected to an IMAP-server, but I'm not. I just have the file. So I'm looking for a possiblity to use imap_body and give the name of the file as a parameter. Thanks in advance.
1
1575
by: vardhansasi | last post by:
hai...I m a newbie to linux... and i m working on a module where i have to 1. Install a MTA 2. Send and access received mails using PHP The first part is over...Installed QMail and its working fine. For the second part ..I m unable to access the imap_* functions to retreive mails from my mailbox. I read somewhere to recompile PHP using the --with-imap prefix... The phpmaual says to install the IMAP package from UW and recompile PHP...
1
3269
by: Fabian Müller | last post by:
Hello, I would like to access (open) my remote IMAP Mailbox with the imap_open() function in PHP Version 5.0.4. The Mailbox is located at the german provider freenet.de. The imap_open() function does not produce an error message as you can see below. But when I call the imap_headers() function the warning message mentioned in the subject as well as below is returned.
0
3995
by: dekoffie | last post by:
Hello there, I'm trying to create a connection with an IMAP server which is secured through SSL. I can get the connection just fine, and I get a first respone from the server. But then I send out my login string, and it does not seem to arrive at the server, because I don't get an answer returned! After some time, I receive a message from the server saying that I've been idle for too long, and then the connection gets closed.. But why...
2
7567
by: J Huntley Palmer | last post by:
I am having a horrific time integrating uw-imap's c-client for imap support in php. The problem is a whole bunch of "Text relocation remains referenced against symbol" errors during linking. Any help appreciated! The ordeal is a follows I am using Solaris 10 with php5.1.1. GCC:
2
2843
by: pmarg212 | last post by:
Greetings, I currently have incoming email piped to a php script using a .forward file. I would like to be able to parse the incoming mail, perform operations, and then fire back an email (immediately) to the sender. Is there any way that I can use the php IMAP functions on either the php://stdin stream (the means through which the email is piped as raw text) or on a plain string? If not, are there any recommendations for what I can...
1
1177
by: ghe | last post by:
Good day to all, Does anyone here have any experience using the IMAP functions of PHP? Using those functions, can I make a script/s that can handle incoming mails in my website? Do you know any available wrapper functions (just to make things more easy) that I could use for this? Thank you and Regards,
7
3072
JamieHowarth0
by: JamieHowarth0 | last post by:
Hi guys, I have a pet project I'm trying to get off the ground - I'd like to build an IMAP server. Now, it's one with a bit of a twist, and the twist is that it won't be used to send and receive mail... (told you there was a twist!) I can't explain a huge amount but there are a few basics which I know I have to be able to understand, in this kind of order: I assume it's possible to build a Windows service which can listen on port 143...
0
8421
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8325
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8844
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8742
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8621
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7354
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6177
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5643
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4173
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.