473,890 Members | 1,680 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

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,

Jan 18 '06 #1
1 1616
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

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
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.
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...
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.
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...
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:
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...
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,
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...
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...
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
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...
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...
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...
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();...
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: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.