RE: [PHP] Re: PHP IMAP with Attachments!?

2007-01-24 Thread Edward Kay
> >Hello, > > > >on 10/31/2006 01:36 PM Andy said the following: > > > > > >>I need a class that reads emails from a server and reads the > >> > >> > >attachments from the mail. > > > > > >>The mailservers is an IMAP for mail reading. > >> > >>The attachment types can be: images/pdf/text documents.

Re: [PHP] Re: PHP IMAP with Attachments!?

2007-01-24 Thread Angelo Zanetti
Manuel Lemos wrote: Hello, on 10/31/2006 01:36 PM Andy said the following: I need a class that reads emails from a server and reads the attachments from the mail. The mailservers is an IMAP for mail reading. The attachment types can be: images/pdf/text documents. Any suggestio

Re: [PHP] Imap certificate error?

2007-01-10 Thread Chris
MIKE YRABEDRA wrote: When using imap_open to access my email server, I keep getting a invalid certificate error. The cert on the email server is issued from Geotrust and is quite common (Rapidssl). The error comes from it not being listed in the root certificates list (bundle). My question

[PHP] Re: PHP IMAP with Attachments!?

2006-10-31 Thread Manuel Lemos
Hello, on 10/31/2006 01:36 PM Andy said the following: > I need a class that reads emails from a server and reads the attachments from the mail. > > The mailservers is an IMAP for mail reading. > > The attachment types can be: images/pdf/text documents. > > Any suggestions? > > On phpclasses.org d

Re: [PHP] IMAP functions for NNTP

2006-10-29 Thread Chris
Eric wrote: How would I go about listing all newsgroups via the IMAP functions? Maybe http://www.php.net/manual/en/function.imap-list.php ? It mentions "mailboxes" but the imap functions work for news & imap accounts. -- Postgresql & php tutorials http://www.designmagick.com/ -- PHP General

RE: [PHP] IMAP extension causing delays

2006-10-25 Thread Edward Kay
> -Original Message- > From: Edward Kay [mailto:[EMAIL PROTECTED] > Sent: 19 October 2006 14:53 > To: php-general@lists.php.net > Subject: [PHP] IMAP extension causing delays > > Hello, > > I need PHP's IMAP extension for my web app but it is really slowing my > server up. > > My setup: Fed

Re: [PHP] IMAP extension causing delays

2006-10-23 Thread Richard Lynch
You may also want to read PHP IMAP source and see what it does in its initializiation function. That may reduce the category of "DNS Error" to something a lot more specific... http://lxr.php.net/ On Thu, October 19, 2006 8:52 am, Edward Kay wrote: > Hello, > > I need PHP's IMAP extension for m

RE: [PHP] IMAP extension causing delays

2006-10-19 Thread Edward Kay
Thanks for your suggestions John. At the moment, I do need to run it as a CGI as I need different php.ini files for each virtual host. I think there may well be some issues with DNS, as suggested by Jochem. My configuration of DNS stuff locally is a bit patchy :) I'll investigate this avenue first

Re: [PHP] IMAP extension causing delays

2006-10-19 Thread John Nichel
Edward Kay wrote: From this, it is clear to me there is some major delay being introduced by the loading of the IMAP extension. Any ideas on how to resolve this? use php as an apache module - thereby the startup delay is only noticed when the webserver starts - this assumes that the problem is

RE: [PHP] IMAP extension causing delays

2006-10-19 Thread Edward Kay
> > > > From this, it is clear to me there is some major delay being > introduced by > > the loading of the IMAP extension. Any ideas on how to resolve this? > > use php as an apache module - thereby the startup delay is only > noticed when > the webserver starts - this assumes that the problem is

Re: [PHP] IMAP extension causing delays

2006-10-19 Thread John Nichel
Edward Kay wrote: Hello, I need PHP's IMAP extension for my web app but it is really slowing my server up. My setup: Fedora Core 5, Apache 2.2.2, PHP 5.1.4 (run as CGI with suPHP), PHP IMAP extension - all standard FC5 RPMs. The test page is simple - just a call to phpinfo(). Without the

Re: [PHP] IMAP extension causing delays

2006-10-19 Thread Jochem Maas
Edward Kay wrote: > Hello, > > I need PHP's IMAP extension for my web app but it is really slowing my > server up. > > My setup: Fedora Core 5, Apache 2.2.2, PHP 5.1.4 (run as CGI with suPHP), > PHP IMAP extension - all standard FC5 RPMs. The test page is simple - just a > call to phpinfo(). >

Re: [PHP] IMAP Search

2006-06-19 Thread Jochem Maas
CodeHeads wrote: ... > > U, you referred me to a page about smart questions..what about > your TOP posting? Richard has more than enough karma on this list to get away with a top-post every half hour or so. > > Nevermind, I see the PHP list is filled with smart asses so I will fin

Re: [PHP] IMAP Search

2006-06-19 Thread CodeHeads
On Mon, June 19, 2006 7:12 pm, Richard Lynch wrote: > Of all the functions to use @ with, and to ignore error messages and > warnings, IMAP is the *last* one you want to do that with. > > Add some error checking, and just forget using @ > > Meanwhile, both your questions didn't actually have a ques

Re: [PHP] IMAP Search

2006-06-19 Thread Richard Lynch
Of all the functions to use @ with, and to ignore error messages and warnings, IMAP is the *last* one you want to do that with. Add some error checking, and just forget using @ Meanwhile, both your questions didn't actually have a question, nor any explanation of what was going wrong or right or.

Re: [PHP] Imap, reading the email-body

2005-10-19 Thread Nahalingam N. Kanakavel
hi, I think that I understood you problem some what, if you are having newline character (\n) in you string , then you can use Regular expression to replace the \n character with tag. why can't you try something like the following -code tag */ $string = "this is to first_li

Re: [PHP] Imap, reading the email-body

2005-10-19 Thread Leif Gregory
Hello Bruno, Wednesday, October 19, 2005, 10:08:24 AM, you wrote: > Look the main page and try to read any message... I dont know what > can i do to fix it... nl2br() (see php manual) -- TBUDL/BETA/DEV/TECH Lists Moderator / PGP 0x6C0AB16B __ Ge

Re: [PHP] IMAP socket?

2005-08-30 Thread Jasper Bryant-Greene
Patrick Barnes wrote: Is there any way to get the file descriptor of an IMAP stream opened with imap_open? No. You'd have to manually connect to the IMAP server with socket functions or whatever. One way to look at it is that imap_* functions are a higher level of abstraction than raw file

Re: [PHP] IMAP with ssl support

2005-03-14 Thread Bostjan Skufca @ domenca.com
For Imapd: make slx && cp imapd/imapd /usr/local/sbin/ && cd c-client && cp c-client.a /usr/local/lib/libc-client.a && cp rfc822.h /usr/local/include/ && cp mail.h /usr/local/include/ && cp linkage.h /usr/local/include/ For PHP: add just '--with-imap' '--with-imap-ssl' regards, Bostjan On

Re: [PHP] imap and multipart

2004-09-10 Thread raditha dissanayake
Maxime Thonon wrote: hello, i work with imap and php to make a webmail. it works fine but i have a big problem with some mails, those who contains a multipart into a multipart. it happends with outlook express who puts into a mutlipart the text and html version of the text into the first part of th

Re: [PHP] IMAP connect problem

2004-05-19 Thread Haseeb Iqbal
i am using standard port 143. - Original Message - From: "raditha dissanayake" <[EMAIL PROTECTED]> To: "Haseeb Iqbal" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, May 19, 2004 9:10 PM Subject: Re: [PHP] IMAP connect problem >

Re: [PHP] IMAP connect problem

2004-05-19 Thread raditha dissanayake
Hi, Haseeb Iqbal wrote: hi all, when i try to connect to imap server i get this and the script aborts. what should i do to fix. Certificate failure for localhost: self signed certificate: /C=US/ST=NY/L=New York/O=Courier Mail Server/OU=Automatically-generated IMAP SSL key/CN=localhost/[EMAIL PROTEC

RE: [PHP] Imap function problems

2004-01-15 Thread Daryl Meese
The contents of the mail file are located below -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED] Sent: Thursday, January 15, 2004 3:42 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Imap function problems On Friday 16 January 2004 05:19, Daryl Meese wrote: > I am having s

Re: [PHP] Imap function problems

2004-01-15 Thread Jason Wong
On Friday 16 January 2004 05:19, Daryl Meese wrote: > I am having some strange problems -- code I tested a while back has broken > and I'm not sure why. > > I am receiving an email with an attachment (testing.doc). when I get the > message I call imap_fetchstructure then check the length of the p

RE: [PHP] imap problem

2003-08-26 Thread Jay Blanchard
[snip] yes [/snip] Have you checked that PHP has IMAP enabled by loading up a phpinfo() page? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] imap problem

2003-08-26 Thread Jay Blanchard
[snip] I downloaded imap as indicated on php.net/imap, compiled it, and recompiled php with --with=imap. Ok everything worked fine, no error messages, but when I call the function imap_open() I get the following: Fatal error: Call to undefined function: imap_open() in /usr/apache/htdocs/mail.php

Re: [PHP] imap mail() problems

2003-04-04 Thread Jason Wong
On Saturday 05 April 2003 05:58, Alec Wallis wrote: > Thanks for the suggestions, I have tried them all but with no joy. Still > exactly the same problem. Pretty sure its not my SMTP server as using > Outlook it works fines. Any other ideas as would prefer not to have to use > the mail() functio

Re: [PHP] imap mail() problems

2003-04-04 Thread Alec Wallis
: "Mario Soto" <[EMAIL PROTECTED]> To: "Alec Wallis" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, April 04, 2003 6:04 PM Subject: Re: [PHP] imap mail() problems Try first to take off the \r char on the string. It worked very good for me using only th

Re: [PHP] imap mail() problems

2003-04-04 Thread Jason Wong
On Saturday 05 April 2003 01:04, Mario Soto wrote: > Try first to take off the \r char on the string. It worked very good for me > using only the \n to send more headers. Headers *should* be delimited by "\r\n" ... > Other is to put the address into > angle bracets (<[EMAIL PROTECTED]>) and in

Re: [PHP] imap mail() problems

2003-04-04 Thread Mario Soto
Try first to take off the \r char on the string. It worked very good for me using only the \n to send more headers. Other is to put the address into angle bracets (<[EMAIL PROTECTED]>) and in this way you can use a name on the server (read some rfc's, it will be helpful if you're using email oft

Re: [PHP] IMAP error while compiling PHP-4.3.0

2003-03-02 Thread Patrick Teague
- Original Message - From: "Jason Wong" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, March 01, 2003 1:42 AM Subject: Re: [PHP] IMAP error while compiling PHP-4.3.0 > On Saturday 01 March 2003 06:30, Patrick Teague wrote: > > I'm trying to co

Re: [PHP] IMAP error while compiling PHP-4.3.0

2003-02-28 Thread Jason Wong
On Saturday 01 March 2003 06:30, Patrick Teague wrote: > I'm trying to compile php on Mandrake 9, but this latest error during > compile has me stumped as I've installed all the imap-devel type rpms. > > . > checking for IMAP support... yes > checking for pam_start in -lpam... yes > checking fo

Re: [PHP] imap

2002-11-25 Thread Jason Wong
On Tuesday 26 November 2002 03:14, Greg wrote: > Can I user php to create IMAP mailboxes? I'm using Cyrus and php and > apache are running on the same computer as Cyrus. Thanks! The short answer is, yes. The long answer is, if you have to ask then no. Try searching the archives for something a

Re: [PHP] imap connection problem

2002-07-17 Thread Korbinian Schmid
the important part (without this line the script works): $mbox = imap_open ("{localhost/imap}INBOX","", ""); it`s the same without "INBOX" i also tried different downloaded mailbox scripts so i think it's a php-system problem. Latex Master <[EMAIL PROTECTED]> schrieb in im Newsbeitrag:

Re: [PHP] imap connection problem

2002-07-17 Thread Latex Master
Hello Korbinian, Can you provide the script code? Let's see how we can help Wednesday, July 17, 2002, 4:50:44 PM, you wrote: KS> when i try to connect to my local imap server by php i get the message KS> (standard ie message) that the page can't be shown. with another server KS> (imap.web.

Re: [PHP] imap support breaking...

2002-06-21 Thread Danny Shepherd
I got that error once - turned out that I'd forgotten to compile the IMAP lib with SSL support. Try recompiling your IMAP libs and then recompiling everything else. Danny. FreeBSD 4.5/Apache 1.3.26/PHP4.2.1 - Original Message - From: "Rick Kukiela" <[EMAIL PROTECTED]> To: <[EMAIL PROTECT

Re: [PHP] imap problems

2002-03-27 Thread gaukia 345
Hi Duncan, Also working with IMAP because I'm writing a webmail. Haven't met this problem before but if I were you, I'd consider the following steps 1) Check if the IMAP daemon is running. Type "nmap localhost" at your shell to see if IMAP daemon (port 143, and it appears as imap2 on my server

Re: [PHP] imap problems

2002-03-27 Thread Duncan
hm, maybe reinstall imap? Can i simply reinstall it, or do i also have to configure php again, if i do so? Regards, Hendrik

[PHP] Re:[PHP]imap and POP3

2002-03-27 Thread Jon Farmer
> What I want to do is, check my POP3 server for messages, download those > messages into my MySQL DB. I want to retrieve the FROM, SUBJECT, HEADER and > BODY from the messages and place them in the corresponding mysql fields. This script I wrote last summer may help you some what.. it handles

Re: [PHP] imap and POP3?

2002-03-27 Thread Jason Wong
On Wednesday 27 March 2002 16:25, Jason Caldwell wrote: > Can anyone give me the quick and easy on IMAP and POP3 ? > > What I want to do is, check my POP3 server for messages, download those > messages into my MySQL DB. I want to retrieve the FROM, SUBJECT, HEADER > and BODY from the messages and

Re: [PHP] IMAP Question

2001-10-18 Thread DL Neil
> Is it possible to use imap_mail() on php 4.0.6 on NT machine? > Maybe anyone has dll for this. Yes Val. It is possible. See related thread/discussion list: [PHP-WIN] Help on using mail() function =dn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [PHP] IMAP - create user?

2001-09-23 Thread Kath
http://phpclasses.upperdesign.com/browse.html/file/766 Try that class. - k - Original Message - From: "Tom Malone" <[EMAIL PROTECTED]> To: "PHP Users" <[EMAIL PROTECTED]> Sent: Sunday, September 23, 2001 10:07 PM Subject: [PHP] IMAP - create user? > Is there a way to create a new us

Re: [PHP] IMAP and Attachments

2001-07-24 Thread Jome
> How can I check to see if a email has an attachment? Then download it if the > user clicks on it? I've been working on a webmail for POP3 but I guess the idea is about the same. To check if a an email has attachments you use the function imap_fetchstructure() and then you can do something l

Re: [PHP] IMAP support and Red Hat

2001-07-14 Thread Rasmus Lerdorf
You need to add --with-kerberos not --without-kerberos On Sat, 14 Jul 2001, Fernando Lozano wrote: > Hi there! > > > I am trying to compile php 4.0.6 on Red Hat Linux 6.2 with IMAP support. > I have installed the package imap-devel*rpm and can easily compile PHP > as an apache module. But, when

RE: [PHP] IMAP/POP3/OUTLOOK Question .. NEW! ... Complimantary

2001-05-15 Thread Don Read
On 14-May-01 Mattias Segerdahl wrote: > Hi, > > I was wondering if someone could help me explain how Microsoft OUTLOOK knows > which emails that it has downloaded from the server, as far as I know, there > isn't any way of marking the email in a pop3 queue that they have been > either read or do

Re: [PHP] IMAP/POP3/OUTLOOK Question .. NEW! ... Complimantary

2001-05-15 Thread Chris Lee
accually pop and imap do set a flag depending if it is new, or seen, etc etc. http://php.net/manual/en/function.imap-search.php outlook isnt accually keeping a list of this info (at least it doesnt need to) the mail server is (imap/pop). mail -f /var/spool/mail/username will show you this dat

Re: [PHP] IMAP/POP3/OUTLOOK Question

2001-05-14 Thread José León Serna
Hello: I'm not sure, but I think it's by looking at the header of the message, not the body, there's a message id like this: Message-ID: <[EMAIL PROTECTED]> and this id is unique, so if exists on the inbox, it doesn't downloads the body. Best Regards Visual PHP Studio, RAD deve

Re: [PHP] IMAP/POP3/OUTLOOK Question

2001-05-14 Thread jdwright
Hiya, Correct me if I'm wrong, but I think it just keeps a record of the e-mails it's downloaded. If you run the command 'UIDL' on a telnet session into a POP server, you will get the Unique ID for every e-mail in your inbox. All Outlook does is compare this to the list of e-mails it knows it's

Re: [PHP] IMAP Help

2001-04-23 Thread Sigitas Paulavicius
Hi, imap_createmailbox() does not ceate a real new unix account. It creates a folder (speaking in Win terms, but rather mailbox) inside an account. Like "Trash", "Drafts" etc. Physicly a file is created for each mailbox in the users home dir. And there is one default mailbox INBOX, where all the

Re: [PHP] IMAP sort help.

2001-03-15 Thread Terrence Wong
Is there a possibility that the imap_sort function is not capatible with APPLE servers? For my unix server, I have used the lastest imap services? Still problem persist for imap_sort to APPLE imap servers. terrence Chris Lee wrote: > imap functions are notorious for not returning anything usfu

Re: [PHP] IMAP sort help.

2001-03-14 Thread Terrence Wong
Hi chris. The codes works on my linux box too. But retaining the codes, I proceed to connect to a imap server on a APPLE machine. Everything works except it stops at imap_sort. Is there a conflict between mac and linux?? terrence Chris Lee wrote: > imap functions are notorious for not return

Re: [PHP] IMAP sort help.

2001-03-14 Thread Chris Lee
imap functions are notorious for not returning anything usfull, same with xslt functions. $headers = imap_sort($this->imap_stream, SORTARRIVAL, 1, SE_UID ); this wrks on my linux box. its almost exactly the same as yours. one thing I found is try playing with if ($this->imap_folder)

Re: [PHP] imap (nntp) message tracking

2001-02-03 Thread Richard Lynch
I think each message has a unique ID generated by the machine that posted it... -- Visit the Zend Store at http://www.zend.com/store/ Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm - Original Message - Fr

Re: [PHP] IMAP - attachment-information

2001-01-23 Thread Chris Adams
On 23 Jan 2001 06:36:02 -0800, Jochen Kächelin <[EMAIL PROTECTED]> wrote: >How can I extract the information >about email attachments using the IMAP-functions? Use imap_fetchstructure(). It returns a pretty large array, so you'll probably want to spend some quality time with the documentation and