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 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 Complete Forum Thread with Replies

Related Forum Messages:
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 !
Configuring The IMAP Extension
I'm trying to get a PHP-based webmail setup going, but I'm running
into a problem with IMAP authentication. Specifically, the PHP IMAP
extension is trying to log in using CRAM-MD5 authentication, which my
IMAP server doesn't support. Is there a way to make PHP IMAP use just
plain login authentication?

View Replies !
Cannot Load Imap Extension In Win98
I removed the ; before "extension=php_imap.dll" in php.ini, and when I
start Apache 1.3 I get the following error message:

Unknown():Unable to load dynamic library
'c:phpextensionsphp_imap.dll". Uno de los dispositivos vinculados
al sistema no funciona (Translation: one of the devices attached to
the system doesn't work).

I already checked the extension_dir directive, and copied php_imap.dll
to c:windows just in case.

I am using Windows98 SE with php 4.3.3 as module in Apache 1.3

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 !
Add An Extension To A File That Is Without Extension.
I have quite a lot of jpg images that are actually without extension  .
Is there any way to add this "jpg" extension using php .

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 !
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 !
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 !
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 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 !
New Mail Function In IMAP
I'm trying to create a feature where a member logs into my site and then he/she can see the number of new emails in their inbox. I'm using the IMAP functions in PHP for a POP inbox since it is suggested in the PHP manual and I can't find pop functions there.

View Replies !
Imap Function Configuration
With the new version of PHP4.1 above, it's support the imap function ? what configuration we need ?

View Replies !
Help With IMAP And NNTP Functions
Has anyone here ever tried to use the IMAP functions to retrieve postings from a news server? And if so, have you tried to retrieve the messages in a threaded manner. I have looked at the imap_header() function and found that there is a references field which returns an array of parent messages.

Problem that I have is that when retrieving messages, i can't seem to retrieve them in a threaded manner and was wondering if someone had suggestions as to how this could be done...
Or if it's been done already, are there snippets of code that i could refer to.

View Replies !
Imap, Check User
If imap_open(string) doesn't work i gets an error message.
I don't want that message. I tried to get around the problem by using:

if (imap_open(string) == false) {
echo("Go back and try again!");
} else {
header("Loacation: show_inbox.php");
}

but I still got that error message if the openstring's not correct.

What to do?

View Replies !
IMAP Function Not Functioning
Please check this function ..

$inbox = @imap_open ("{www.yahoo.com:110/pop3}INBOX","username","password") or header("Location: error.php?ec=3");

Presently this function is not working. It just hangs and when I do some changes like interchanging port with protocol, it gives error messages like cannot connect to the server. What might be problem. And one more thing what is the significance of @ at the begining of function. If I remove the symbol it shows no other changes.

View Replies !
Imap Email Headers
Does anyone know how I might get the raw email headers of a message using imap? I mean the unaltered message with the base64 encoded attachments, boundaries, and everything.

View Replies !
Install Php-imap-4.0.2-1.i386.rpm
When I type "rpm -i php-imap-4.0.2-1.i386.rpm" ,the below error message I don't know the meaning. only packages with major numbers <= 3 are supported by this version of RPM

error: php-imap-4.0.2-1.i386.rpm cannot be installed

View Replies !
Check IMAP Mail?
I was wondering if when a user loads a webpage is it possible for php to determine whether or not someone has any email (assuming its their email) in the IMAP mailbox? Like when the page loaded it would say on it somewhere "You have mail" with a link to check it if you do and "No new mail" if you don't.

View Replies !
Download Imap Libs?
where can i find imap libs for php3 used in linux + apache?

View Replies !
How Can I Get IMAP Username And Password?
the IMAP functions has been compiled into PHP on my server, and then each time access my page index.php from a web browser, I was asked enter username and password, is there any nice person tell me, how can I get IMAP username and password?

View Replies !
From Imap 2 Mysql, A Php Class?
i'm looking for a php class that can check an imap account (ms exchange 5.5 ) and write all incoming emails with; authors emailsubjecttextbody to a table in a mysql db do's anyone if such a batgadget is floating around out there?

View Replies !

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