Chuck Hagenbuch
d0af2440e6
removing references to IMSP module, which will probably never be ported to
...
php4 (lack of a publically available library implementing it).
2001-05-03 19:32:49 +00:00
Chuck Hagenbuch
5c0791fcac
Fix for #8359 . imap_fetchheader should never return the full message; the
...
FT_PREFETCHTEXT flag is just a hint to c-client that you'll be asking for
the message text next.
2001-05-03 19:18:48 +00:00
Andi Gutmans
7c5a45d69a
- More strncpy() -> strlcpy() changes. mm_login() doesn't seem to be used
...
though.
2001-05-02 22:57:01 +00:00
Chuck Hagenbuch
ec1f342fac
fix whitespace pollution
2001-05-02 17:46:44 +00:00
Chuck Hagenbuch
0ae4591ea2
Fixes and improvements to imap_mail_compose (Johan Ekenberg
...
<johan@ekenberg.se>)
2001-05-02 17:42:10 +00:00
Chuck Hagenbuch
9cb85f9933
Add support for cram-md5 authentication in imap_open().
2001-05-02 17:30:30 +00:00
Andi Gutmans
1d3ef30714
- Fix crash bugs when rfc822_qprint and rfc822_base64 return NULL
2001-04-30 10:23:13 +00:00
Chuck Hagenbuch
029cd8a882
Fix for bug 9908: check that the result of mail_sort is not 0 before trying
...
to dereference the pointer. :)
Also, free sort programs - this might have been a memory leak.
2001-04-23 21:58:44 +00:00
Jon Parise
6aabc2c9d4
Statements end with a period.
2001-04-10 17:31:35 +00:00
Jon Parise
99b5477b90
Use tabs instead of spaces.
2001-04-08 01:13:07 +00:00
foobar
8a26918ed1
Renamed the AC_ prefixed macros defined in acinclude.m4 to PHP_* prefixes.
...
# Heads up people! I tested this before committing but you never know..
2001-03-27 20:35:04 +00:00
foobar
21d158229b
Make compile again when ZTS is enabled and imap-2000 is used. Bug #9762
2001-03-16 13:17:54 +00:00
Chuck Hagenbuch
e2f632e1f2
If php is compiled --with-imap-ssl, link in the SSL authenticator from
...
c-client so that we can use php to make ssl imap connections.
2001-03-01 07:06:54 +00:00
Dan Kalowsky
63ec8d7eaf
#adding name to credits. nothing to see here, keep moving.
...
PR:
Submitted by:
Reviewed by:
Obtained from:
2001-02-28 01:02:48 +00:00
Andi Gutmans
a0d3c5a88e
- Finally rename modules.h to zend_modules.h for consistency (first try
...
was 2000-03-11).
- Remove the first_arg_force_ref[]; and friends extern from php.h as they
are included via zend_API.h
2001-02-26 18:14:50 +00:00
Dan Kalowsky
17444700d4
# Bad patch job on the last commit by me. I take the BAD_CODER award for
...
# the day.
Removes two unnecessary REGISTER_MAIN_LONG_CONSTANT's.
# what should be done about the PHP_MINFO_FUNCTION
2001-02-26 16:36:08 +00:00
Dan Kalowsky
d883ff47ed
Correctly checks for the proper header files, and excludes the QUOTA functions
...
from non-imap2000 systems (unavailable for testing at this time).
# anyone willing to test this out on non-imap2000?
PR:
Submitted by:
Reviewed by: Sascha Schumann
Obtained from:
2001-02-26 15:17:12 +00:00
Andi Gutmans
eb6ba01d1c
- Fix copyright notices with 2001
2001-02-26 06:11:02 +00:00
Dan Kalowsky
6b80554404
Updating the IMAP client to include quota support via the imap c-client2000 libraries.
...
# Y2K support is good...
Removes the SA_QUOTA and SA_QUOTA_ALL defines
# After speaking with Mark Crispin, it is believed these never existed.
Cleans up the imap_status() function to remove notion of quotas in a status message.
# There is no quota setting in a STATUS message from c-client.
Changes the config.m4 to support the client.h include
# This should include all the approriate headers for c-client (as defined by
# c-client maintainers) such as mail.h, and rfc822.h.
Changed the directory search order for the include files as well.
# Place the /usr/local/include last, and searched the
# /usr/local/include/{c-client|imap} directories first
(PHP imap_get_quota) Added
(PHP imap_set_quota) Added
@- IMAP quota support (imap_set_quota, imap_get_quota) enabled/added via
@ c-client2000
PR:
Submitted by:
Reviewed by:
Obtained from:
2001-02-25 04:41:18 +00:00
Thies C. Arntzen
7139926e84
fix possible leak.
2001-02-21 20:33:46 +00:00
Thies C. Arntzen
84c243d3cc
fixed a possible double-free
2001-02-18 18:15:01 +00:00
Thies C. Arntzen
fc7d103b73
fixed possible leak in imap_search
2001-02-12 11:57:22 +00:00
Sascha Schumann
3f2a3a9b01
Fix ZTS build which was broken by the last commit
2001-01-07 12:22:50 +00:00
foobar
dd2cd995cb
imap_user and imap_password were freed too early.
...
PR: 8424
2001-01-07 07:47:46 +00:00
Zeev Suraski
aa6d2ac5d0
Heads up people!
...
Updated the get_current_key() API - the relevant authors, please take
a look at the updated code and make sure it's ok...
2000-12-22 12:57:09 +00:00
Chuck Hagenbuch
a9a1553031
[whitespace] make this code a bit less dense.
2000-12-10 19:18:34 +00:00
Hartmut Holzgraefe
1f6878e912
2nd step towards auto-credits
2000-11-20 10:33:33 +00:00
Andrei Zmievski
f1dcb32c9f
Use zend_register_list_destructors_ex() instead.
2000-10-25 17:44:02 +00:00
Andrei Zmievski
7b4983c8f8
Mega-patch to get better resource information for modules.
...
* Fixed a bug in zend_rsrc_list_get_rsrc_type()
* Switched register_list_destructors() to use
zend_register_list_destructors_ex() instead
* Updated all relevant modules to provide the resource type name
to register_list_destructors() call
* Updated var_dump() to output resource type name instead of number
@- Made resource type names visible, e.g. var_dump() and
@ get_resource_type() display "file" for file resources. (Andrei)
2000-10-20 18:25:16 +00:00
Chuck Hagenbuch
f9606d82fa
add an optional parameter to imap_sort to specify a search program that
...
messages must match to be included in the sorted list.
2000-10-19 01:32:50 +00:00
Chuck Hagenbuch
e058cb0648
fix imap_fetchstructure(). msgindex is not valid if we're using FT_UID;
...
always use Z_LVAL_PP(msgno) in the actual c-client function call.
2000-10-17 16:11:26 +00:00
foobar
6e09d7cb53
*** empty log message ***
2000-10-17 15:42:05 +00:00
Rasmus Lerdorf
ff9946b264
Add --with-imap-ssl to support SSL'ized imap library in RH7 and others
...
@Add --with-imap-ssl to support SSL'ized imap library in RH7 and others
@(Rasmus)
2000-10-02 22:16:53 +00:00
Chuck Hagenbuch
22edfd2b3b
check the range of message numbers in imap_uid.
2000-09-09 20:26:15 +00:00
Zeev Suraski
c542f9a3f4
- Fix IMAP build problem
...
- Allow external DLLs to use warn_not_available
2000-08-24 18:49:49 +00:00
Daniel Beulshausen
b6f0d041f9
deleted a few unnecceasary defines and added the Release_TS_Inline path to the libpath
2000-08-24 17:48:30 +00:00
Chuck Hagenbuch
3a1b4fda7e
Fix a crash in imap_fetchheader(). FT_PREFETCHTEXT isn't the only flag that
...
you can pass to mail_fetchheader_full().
2000-08-22 02:35:30 +00:00
Chuck Hagenbuch
c4b2498bae
use estrndup and efree to hopefully avoid both munging of arguments and
...
leaking memory.
2000-08-18 16:02:27 +00:00
Chuck Hagenbuch
b436f97a53
prevent mail_criteria from munging the variable passed in containing the
...
query - just had to add a cpystr(). if this isn't the right fix, let me
know, but it does work.
2000-08-17 16:01:14 +00:00
Joey Smith
a2cb77aa82
Cut and paste error? :)
2000-08-10 17:38:14 +00:00
foobar
472c727186
Added missing 'subject'-key in envelope.
...
# I'm starting to think imap_mail_compose() should be rewritten from scratch..
2000-08-08 21:16:09 +00:00
Sascha Schumann
cbc4b24a7a
Enable building PHP against kerberized IMAP libraries
2000-08-01 15:24:56 +00:00
foobar
ab13d02d53
@- Fixed bug in imap_fetchheader() where using FT_PREFETCHTEXT didn't return
...
@ the body. Bug #4447 . (Jani)
2000-08-01 09:11:46 +00:00
foobar
5fdc09fb36
@- Fixed bug in imap_compose_mail() which caused crashes. (Jani)
...
# This one was only partly ported from php3. As some user pointed it out,
# it was working in 3.0.x. But this needs further hacking. Some error
# handlers, at least. Fixes bugs #3337 and #5084 .
2000-07-29 18:45:06 +00:00
Hartmut Holzgraefe
d4936d8fcf
column size for date in imap_headers increased (see bug id #5699 )
2000-07-21 15:50:37 +00:00
Mike Waychison
99b85d1919
(imap_mail) Fixed a sizing of the arg parameter array. Was causing
...
Seg-Faults if rpath was specified.
@ Fixed a bug with imap_mail where apache would segfault if the rpath
@ parameter was specified.
# ouch.
2000-07-14 08:12:53 +00:00
Sascha Schumann
cd754d7825
Rename macros which begin with underscore to appropiate macros. The general
...
rule is:
macro_name=`echo $filename|tr a-z A-Z|sed 's/\./_/'`
2000-07-03 00:41:19 +00:00
Zeev Suraski
1be47784eb
imap_sendmail.[ch] are missing... Whomever added them, please cvs add them and then
...
readd them to the project...
2000-06-25 18:29:05 +00:00
Sascha Schumann
8741aa825d
Unbreak imap by fixing the assignment
2000-06-19 21:35:01 +00:00
Andi Gutmans
b831ca7d64
- Fixed problem in imap_fetch_overview
2000-06-19 04:33:40 +00:00