Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    PHP


SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





IMAP Support For PHP On Windows


I have a computer I've set up as a testing server at home and I'm having a
problem trying to locate the pre-compiled IMAP libraries for PHP on Windows.
According to the book "PHP & MySQL Web Development by Luke Welling and Laura
Thomson", I can get the Windows build of the imap libraries from
http://www.php4win.de. But in going to the website, the title bar says
"php4win suspended" with an empty page.

The creators of IMAP, http://www.cac.washington.edu only seems to distribute
the source and you have to compile it yourself, which I don't have a
compiler. Anyone know where I can find it (or an older and possibly
compatible build)?




View Complete Forum Thread with Replies

Related Forum Messages:
Php With IMAP Support
I am getting an error Call to undefined function: imap_open(). so i did some google research and it says you have to compile php with imap support. So i looked at my phpinfo() and it shows that it was compiled with --with-imap-ssl=../imap-2001a . I guess the latest version is 2001e so is 2001a to old to support imap_open() or am i missing something else?

View Replies !
Compiling PHP With IMAP Support
I'm trying to compile php with imap support on solaris 9, however when i
run ./configure with all the relevant options it doesn't pick up the
extensions and reports "checking for IMAP support... no"

I've followed the instructions on the PHP website to the letter and
don't see how i've gone wrong.

View Replies !
Fatal Error: Call To Undefined Function: Imap_open() - Server Doesn't Have IMAP Support
When I'm typing $link= imap_open($server,"test", "test"); my server returns
Fatal error: Call to undefined function: imap_open()

I assume this means that my server doesn't have IMAP support, right? So, if my server doesn't support IMAP, what function should I use to open my pop3 account?

View Replies !
T1lib Support On Windows
I don't normally do PHP development work on Windows but I need to port
an image creation tool to Windows. So I have loaded the php_gd2.dll
module for image creation support but it doesn't include the t1lib
functions and the code relies on the imagepsbbox(), imagepstext() and
imagepsloadfont() functions.

The result from gd_info() is:

array(11) {
["GD Version"]=> string(27) "bundled (2.0.28 compatible)"
["FreeType Support"]=> bool(true)
["FreeType Linkage"]=> string(13) "with freetype"
["T1Lib Support"]=> bool(false)
["GIF Read Support"]=> bool(true)
["GIF Create Support"]=> bool(true)
["JPG Support"]=> bool(true)
["PNG Support"]=> bool(true)
["WBMP Support"]=> bool(true)
["XBM Support"]=> bool(true)
["JIS-mapped Japanese Font Support"]=> bool(false)
}

Anyone have any idea where I can get a php_gd2.dll which includes the
t1lib? I can always recode the functions to use TTF fonts instead but
only want to do that as a last resort.

View Replies !
Type Support On Windows
I want to get PHP running with GD capability that allows me to use true type fonts, preferably to generate GIFs (the US patent has expired, but GIF support isn't due back until mid-2004 due to global patents). Has anybody got experience of running this combination on a windows box (using apache).

View Replies !
How To Open The Mbstring Support Under PHP Of Windows
In linux & unix envir, add the optional flag ----enable-mbstring --enable-mbsrt-euc-trans can open mbstring module support, But in Windows I couldn't find the dll of mbstring (multi-byte string). How to make it work?

View Replies !
Need A Windows Binary Or Zip For PHP 5.0.5 With MySQL Support Builtin
Need an installation set for PHP 5.0.5 Windows Binary or Zip for PHP
5.0.5 with MySQL support built in

View Replies !
Deos Exec() Support A Popup Windows?
I am using exec() to run a .exe file which call another function to popup a new window? It does not work. Anyone know how to make it work?

View Replies !
Compile Oracle Support On Linux For Windows
I'm trying to help a local non-profit organization tie in their online
credit card donations to their existing vendor software, which uses
Oracle 8i (8.1.7) on windows. Does anyone have any pointers on 1) how
to compile oracle support into PHP, not having a linux version of
Oracle, and 2) creating remote connections to Oracle.

View Replies !
Does MyAdmin Support Windows Integrated Authentication
I have installed PHP 4.x and PHPMyAdmin and all works. But I cannot get PHPMyAdmin to work with IIS and Windows Integrated Authentication. Does PhpMyAdmin work with IIS Windows Integrated Authentication or only Anonymous Access.

I have searched but cannot find an answer. It is using auth_type http in the config.inc.php file.

View Replies !
Warning: Date(): Windows Does Not Support Dates Prior To Midnight
I tried to use the date() function with the mktime(). It keeps giving warning:

Warning: date(): Windows does not support dates prior to midnight (00:00:00), January 1, 1970

I could use the @ to surpress the warning but I would like to know why it's happening. Take a look at this. There doesn't seem to be anything wrong with it. PHP Code:

View Replies !
[function.date]: Windows Does Not Support Dates Prior To Midnight (00:00:00)
I'm working with PHP in a Windows environment and ended up with the following message:

Warning: date() [function.date]: Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in c:Inetpubincludecommonereken.inc.php on line 29
Whether I'm working in Windows or Linux is all the same, because I'm dealing with dates prior to the year 1700 as well.

I've found the following library:
http://phplens.com/phpeverywhere/adodb_date_library

It replaces a number of standard php functions such as date(), but for strtotime() there's no replacement. Anybody got an efficient code solution for this?

View Replies !
IMAP Messages -- Move Them To A Folder On A DIFFERENT IMAP Account.
Is it possible to move a message from one IMAP account to another?

View Replies !
Pdf With Unicode Support Or Arabic Characterset Support
I am working on a project that have a featre to print the news as a PDF file format. I am having a problem in generaing pdf with unicode support or Arabic characterset support. I can generat eenglish document like a charm but the probem in Arabic text. I am geting the data from the MySQL database. Anyone have any idea what to do, I search everywhere on net find some small results but still I am not been able to accomplish the task.

View Replies !
Is It Possible To Authenticate Users Running Apache On MacOS X (with PHP 4) And An Active Directory On Windows 2000 Or Windows XP?
From a PHP webpage, is it possible to authenticate users running Apache on MacOS X (with PHP 4) and an active directory on Windows 2000 or Windows XP?

View Replies !
PHP And IMAP
i am writing an IMAP client with php. the start is made, and i ge all the folder listings and headers and all, but how do i read a message ?

View Replies !
Imap/ssl
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).

View Replies !
Php Pop/imap
How would you implement a PHP webmail client that is connecting to a POP server but indicating that you would like messages to be left on the server? How is this performed?
I could just establish a imap connection and pull down emails - however, if a message is permanently deleted locally but on the server, it'll just get pulled down again.

View Replies !
PHP 4.3.4 And IMAP
Is there any way to force PHP when compiling with IMAP support, not to use
kerberos? I keep getting undefined errors involving GSSAPI. I have compiled
the C-client with an with out SSL, however the php install still continues
to look for the GSSAPI.

View Replies !
IMAP
i have an emailserver (sendmail) coded using php.But i cannot read mails in my machine using imap function in php. when i use imap_open function in php i am getting a warning cannot open stream...

i am using redhat9. DO u need any further information. its urgent. its apart of project work at college. i have to submitt it within 2 days. Is there any configuration for imap .

I am able to access mails using evolution and imap://user@localhost. My host name is xpressmail.com hence imap://vivu@xpressmail.com . but its notworking when i use php function Code:

View Replies !
Using Imap
i have this code to connect to newsgroups, which connects great using imap, but im not sure how to retrieve the data like headers and such once connected, is there any tutorial about on the subject at all? Code:

View Replies !
IMAP In Box
I have this code PHP Code:

<?php
$mbox = imap_open("{localhost:143}", "username", "password");

echo "<h1>Mailboxes</h1>
";
$folders = imap_listmailbox($mbox, "{localhost:143}", "*");

echo "<h1>Headers in INBOX</h1>
";
$headers = imap_headers($mbox);

if ($headers == false) {
   echo "Call failed<br />
.......

View Replies !
How I Can Add Imap Extension
So.. I have Php4 installed in apache webserver and now I would like use imap functions, but I think imap -extension isn´t installed. How can I add an extension into php4. Do I have to install the package again or can I add it "on the fly"?

View Replies !
Imap Attachments
Can anyone tell me how to read mail attachments thru php.
is there any imap function which does this.

View Replies !
IMAP Functions
I have signed up with a new web host and want to use IMAP functions with them. They do support these. I have checked. They have provided webmail at url:

http://webmail.mydomain.com

so I guessed that I should use this syntax in my php script:

imap_open("{webmail.mydomain.com:143 INBOX", "username", "password");

But it does not work. I receive this error message:

Warning: imap_open(): Couldn't open stream {webmail.mydomain.com:143}INBOX

Help! I have asked my host about this and from their reply I dont think they even know what IMAP functions are. So, I am really stuck. I have read about opening an IMAP stream and that there are different syntaxes for different software components and scenarios - how can I find out which one is appropriate for my set up, given that asking my host is out?

The webmail is horde webmail. The login url is below

http://webmail.mydomain.com/horde/

I am on a virtual server. So, I have an IP - but it is a shared IP of course. My host provided me with 3 IPs - one for FTP access, one is just my private IP (behind a firewall), the other is a public IP (outside the firewall). I have to give my public IP to DNS.

View Replies !
IMAP Questions
I've spent hours, days .... weeks(!) reading the manual, but still can't find answers to my questions regarding the use of some IMAP functions and their miscellaneous properties.

From now, I'm gonna list all those questions on this thread and see if some of you can provide even partial but useful comments.

Question number ONE : imap_setflag_full

In imap_setflag_full($mbox, "2,5", "Seen Flagged"); we have the string sequence "2,5" but I fail to understand if it is safe or not to choose any sequence I want regardless of the message structure.

For example, if I apply a "Flagged" flag on all incoming messages exclusively at "2,5", is it possible that I could overwrite some precious information in that particular place? What are the implications of such a method?

View Replies !
IMAP PHP Issue
I am trying to compile University of Washington IMAP C-Client with PHP 4.3.4
on a Red Hat 6.2 to no avail. The most common error message has something to
do with auth_gssapi_vaild. I have tried compiling it with and with out
kerberos, ssl. I have tried various clients and I have re-installed
kerberos.

View Replies !
Help Needed In IMAP+PHP
I am having a mail client script, which will read and send mail to mail
server, using IMAP. When i am sending mail with attachment through
forwarding, the attachment is not getting attached correctly, Plz any
one can help me to come out of the problem.

Note : I am using PHP 4.3.10 + IMAP + Apache +Zend Engine v1.3.0



View Replies !
PHP IMAP Problem
i've got a problem with imap_open(). when i try to log in with a wrong
password, it doesn't le me in. perfect. but i can see that it tries to
log in three times (maybe three different modes like kerberos etc?).
now, the mailserver is configured, that it will lock a user as soon as
he types in a wrong password three times. that works fine with outlook
maybe, but it means for my web interface i have only one chance, i
mustn't mistype.

there are some possibilities on exchange's side like putting the count
of failed logins until locking up to 9 or disabling some login modes
maybe. but these are unlucky alternatives. i need a php side way. any
ideas?

View Replies !
[PHP] Webmail Without Using Imap
I'm busy with making webmail for my site. I've finished it but when i test it i get the error that imap_open is a unkown function. I've send a email to the support desk of my hosting company and they told me they don't support imap . Is there a other way to open a pop3 e-mail box and reading message etc. without using the imap functions.

View Replies !
Help With Imap Functions
imap_fetchstructure -- Read the structure of a particular message

a query about this function.....
(from php manual)
Description
object imap_fetchstructure ( resource imap_stream, int msg_number [, int
options])

This function fetches all the structured information for a given message.
The optional flags parameter only has a single option, FT_UID, which tells
the function to treat the msg_number argument as a UID. The returned object
includes the envelope, internal date, size, flags and body structure along
with a similar object for each mime attachement. The structure of the
returned objects is as follows:

so if i call imap_fetchstructure($imapstream, $msgNum, FT_UID)

it will treat $msgNum as a messageID?? yes or no and if no then how do i get
this to work.

"The optional flags parameter only has a single option". to be hoonest i do
not understand this optonal flags section.

View Replies !
Imap - Set Up The Web Mail
if i use the php4.0, it is support the imap function ? i want to set up the web mail, it is just install the php apache mysql mail server, still need others...

View Replies !
IMAP Attachment
I've got everything else for my webmail software written, I just cant figure out how to view (in the case of pictures) or download (in any other case) attachments.
I've gotten everything else working, I get headers and parse them, click on the subject to view the message.

Inside the message I have it set currently to just view INLINE messages and shows the headers nicely at the top along with how many attachments (if any) there are and what the file names are. I just need a function to get the attachment for me. Can anyone PLEASE help me, I know someone has to have done something similar to this before.

View Replies !
PHP IMAP Setup
I am running FreeBSD box 4.5 , i am trying to install PHP, Courier-IMAP and IMP well i have it working except for the PHP IMAP support i am quite new to all this system admin stuff so i'll tell you how i installed PHP /usr/ports/www/mod_php4

i did make , and make install and then choose options from the scrren ie IMAP etc It give a few errors sorry they flew past too quick , anyway even when i put the follwoing line into php.ini extention=imap.so , i get the error that imap.so cant be found Everything else is ok as i have tested the IMAP Server with Sqwebmail but i was trying to get IMP to work. IMP wokrs fine but i get an "invalid function error" for all IMAP functions so it doesnt really work at all.

View Replies !
Gmail Imap
I have tried every possible combination to get gmails imap working through php using imap open why cant I connect is anyone else having this problem? Code:

View Replies !
PHP IMAP And X-Headers
I'm trying to parse incoming e-mail. The information I need is in the X-Header of an e-mail. I have the following code:

View Replies !
Imap - Pop3
I'm writing a script to read view and store my emails. Something like hotmail. Would I need to use IMAP or POP3?

View Replies !
Imap Issues
I have searched the forums and the www and cannot find an answer to my specific question. I am writing a script to read emails from an IMAP server.

Everything is fine until I have an attachment. When I have an email with an attachment the message is not displayed. When I fix it so that the message is displayed, it prints out a bunch of garbage surrounding the message.

View Replies !
Imap Extension
I have installed Php using Zip, and it is working fine,, now i have just uncommented the extension = php_imap.dll and when i try to use its function imap_open i get No output in Browser, No Warning, No Error and not any output of other codes on page, I dont know why it is happeneing, extension is on c:phpextensionsphp_imap.dll and on php.ini extension_dir = "C:phpextensions"

any idea? My Test page code is

<?
$k = imap_open("ssdf","sdfsdf","sdfsdf");
echo "sfsd";

?>

View Replies !
Imap Dll And Php.ini Configuration
I am running PHP on a Windows 2000 box running IIS.

I want to configure my server to usethe imap dll.

Is it possible to simply copy the dll into the php directory and then enable it within the php.ini file?

I am more used to Apache setups so I am not 100& clear how PHP works on IIS.

My php.ini is located in the following location:

c:/winnt

But there is also a PHP folders :

c:/php

I have placed the imap.dll in the php folder and uncommented the line in the php.ini file.

Is there anything else I need to do or am I over simplyfying things here?

I noticed there is also a line in the php.ini where you can specify the module extensions directory, do I need to do this and if so what would it be inmy case. I did try "c:/php" but this seemed to cause php not to start correctly.

View Replies !
IMAP -- Raw Return Only
Anyone know if it's possible to fetch a raw message entity using IMAP? I can't seem to find any reference to it in the imap docs, though I'm sure it's a part of the process given that it parses everything out for you otherwise.

View Replies !
Couier-imap
can anyone solve problem installing courier-imap,vpopmail,mysql with php..4.2.2???
this two error occured at ./configure time

cannot find rfc822.h, check your imap installation..

&

cannot find mysql.header file in /usr/include/mysql

View Replies !
Imap Streams
I am trying to write a webmail interface, where an user can suply servername, username and password to gain access to his pop3 mailbox.

When the user is logged in, he should see the inbox, and be able to click on a messages to read it.

The problem is, that when you click on a messages you want to read, a new page must be loaded, where the messages is shown, but when this happens, the imap stream from the imap_open function is no longer valid. I've tried to pass it with the GET method, but then it gets corrupted on the new pages.

Can I solve this problem, whitout having to pass the servername, username and password everytime a new pages is loaded, and without using imap_open on every pages?

View Replies !
Dreamhost And IMAP
and has gotten the email section functioning running on dreamhost. I've looked ove the imap_opne stuff on php.net but i cant get it to work on the server. I keep getting this error

Fatal error: Call to undefined function: imap_open() in /home/.langer/hiten/sincerelyhiten.com/organizer/email.php on line 26

any idea on how to fix it or maybe dreamhost isnt setup for me to do this cause the imap option might not be available.

View Replies !
Imap - How To Get Msg Number??
can anyone tell me where the $msgno is coming from??

i have seen a ton of examples that pass $msgno or $msgid in to a imap_fetchstructure or imap_fetchbody function but i can't see where they are getting a msg number??

$mbox = imap_open ("{ourdomain.com/imap/notls:143}", "$username", "$password");

$msg_struct = imap_fetchstructure($mbox, $msgno);

i connect just fine, can read the folders and see how many messages there are....
but i can't seem to get the structure split out so i can grab the message content. i get various errors depending on what i try...

all i want to do is grab the text & subject to dump in a db.

View Replies !
IMAP And SMTP
i have a webmail page, you log in you check email you log out, simple. What i want is on the front page where the log in is, is two details IMAP and SMTP i would like the PHP script to show if they are online, as they are on different servers to my other sites. So on the page i would like two images, displaying online or offline depending on the status of the mail server.

View Replies !
Imap Function
I am running PHP 4 on a Windows 2003 Server. Where do I adjust the IMAP settigns to unter my login information. I created a test program that included the "imsp_open" function, but where does this text go inside the ini file.

View Replies !
IMAP Email
I'm wanting to make a script for my website which allows me to read my own email. I guess using IMAP is the best way, does anyone have a tutorial on how it works? i can not find one at all.

View Replies !
Pop3 Instead Of IMAP For This?
We want to make a page called 'mail.php' which will check 5 mailboxes. Our mail server uses POP3, not IMAP and we want this page to return a syntax like this:

mailbox@domain.com: 15 messages, 2 new
mailbox2@domain.com: 23 messages, 3 new

The IMAP script we had was:

$mbox = imap_open("{mail.domain.com}", "mailbox1@domain.com", "password", OP_HALFOPEN)
or die("can't connect: " . imap_last_error());

$status = imap_status($mbox, "{mail.domain.com}INBOX", SA_ALL);
if ($status) {
echo "Messages: " . $status->messages . "<br />";
echo "Recent: " . $status->recent . "<br />";
echo "Unseen: " . $status->unseen . "<br />";
echo "UIDnext: " . $status->uidnext . "<br />";
echo "UIDvalidity:" . $status->uidvalidity . "<br />";
} else {
echo "imap_status failed: " . imap_last_error() . "";
}

imap_close($mbox);

However, our mail server isn't IMAP. Is it possible for PHP to do this with POP3 instead, what would I need to use?

View Replies !
IMAP Installation
I am trying to work out how to install IMAP though I jsut cannot seem to work it out. Does anyone know of a tutorial that tells me exactly what to type in to SSH or something

View Replies !
Php5 With Imap
php5 workin with imap, i have copied the php_imap.dll file from the php 4.3 binary and placed it in the file where it searches for extension but it is unable to load it and comes up with an error when windows has loaded. i can get mysql to work so i know that it is loading extensions, i have also added the extension to the php.ini file but still unable to load.

View Replies !
Imap + Php4.0.4pl1
I have already installed php4.0.4pl1 on rh6.2 and i want to add the imap module in order to run imp. I have the c-client.tar.Z.
What is the best way to add this module to PHP.

View Replies !

Copyright © 2005-08 www.BigResource.com, All rights reserved