Commit graph

454 commits

Author SHA1 Message Date
tassium
4f914fc1a4 Very ugly hack to add rudimentary error check to SMTP for invalid/unsupported auth types. I don't like it, not one bit. It will do until I can fix up a better solution tomorrow though, right now I'm very tired and it's time for bed.. 2003-01-04 06:32:57 +00:00
tassium
d1cc599af5 Ok, I screwed up. When I put in cram-md5 and digest-md5, I left the alternative as being "plain", which is a misnomer. There really IS a mechanism called "plain", and what we're doing isn't it. So I've renamed our "plain" to "login".
For IMAP, it uses the IMAP4rev1 "LOGIN <user> <pass>" syntax.
For SMTP, it uses the AUTH LOGIN (two-step) method.
2003-01-04 06:01:26 +00:00
stekkel
f082b4c5b6 This will probably fix the incorrect parsing of literals inside
bodystructures. Somehow the offset of $i was incorrect when returning in the
parser. Note: due to the trial and error way (in some design fases) of programming when writing the
structure parser things has come a bit too complex. I have already developed
a new parser that will be used for 1.5. That parser will be a lot easier to
follow and less bug sensitive like the  one we use now.
2003-01-03 12:01:57 +00:00
Thijs Kinkhorst
75de52f258 Getting ready for 1.4.0 RC1 2002-12-31 12:49:43 +00:00
stekkel
350ea314f2 ugly bugfix for parsing literals inside envelope structures.
Note: All the parser function are rewritten in a clean way and will be
commited soon in SM 1.5 . The just applied fix was needed for a stable release.
2002-12-27 15:49:35 +00:00
stekkel
a3d5bd344e oops, Rfc822Header->mailbox was initialized 2002-12-27 14:38:10 +00:00
stekkel
6fe35696cf Added address lookup callback function argument for parseAddress.
In stable we verified addresses against the addressbook. In devel this
functionality was forgotten.
Note: Required php version 4.0.4 due to the use of call_user_func_array.
2002-12-27 12:24:12 +00:00
Thijs Kinkhorst
8e6e6234c9 E_ALL fix when using proxy's with HTTP_VIA and no HTTP_X_FORWARDED_FOR 2002-12-24 11:23:21 +00:00
robsiemb
5b24abe09c 3 minor bugs:
* If we don't get a $msg back in parseStructure, don't call $msg->setEntIds.
* NIL can be 'NIL ' or 'NIL)'
* Literal sizes DO NOT include the \r\n in their counts.
2002-12-19 19:27:20 +00:00
tassium
1fc6f1eced With a little help from Marc (ok, a lot), CRAM-MD5 and DIGEST-MD5 no longer require the mhash extension. If present, mhash will be used. 2002-12-07 04:02:05 +00:00
stekkel
701b117bfa Improved entity_id calculation.
This solves problems when the Content-Type of the rfc822 header =
ressage/rfc822
2002-11-15 18:53:50 +00:00
tassium
d698527ab3 Merging in the tassium-auth branch. 2002-11-06 18:55:13 +00:00
stekkel
ed167ce382 Speed improvements by using php internal functions and bugfix regarding
DKIMAP
2002-11-04 20:25:09 +00:00
stekkel
ba9f56de0d Buggy messages with empty mime-parts (size=0) causes incorrect parsing.
Adding case '0': solved the problem.
2002-10-28 09:34:06 +00:00
stekkel
be1810e956 wrong return type 2002-10-18 17:38:52 +00:00
stekkel
1f747ca365 initialize cc correct 2002-10-18 08:54:35 +00:00
stekkel
2d4c13c5b1 added function to search the to and cc headers and return the best match 2002-10-17 22:22:55 +00:00
centaurix
1090e5e21d * added vcard url, skeleton functions. slow but not to slow ;) more is to come ! 2002-10-14 21:21:24 +00:00
stekkel
ec8ddf2cb5 Fix for incorrect folding of header lines. This fix the error message
"Message contains bare new lines" when we are appending the message to the
Sent folder.
2002-10-14 15:40:01 +00:00
centaurix
f16978dbdf just the file to remind me to actually *code* what i post on mailing lists ;)
will add stuff time by time. feel free to help everybody. (plz email me before coding)
2002-10-10 01:34:51 +00:00
stekkel
2c54f7ea8b code clean up. No need to use isset because the vars are properly
initialized
2002-10-08 12:28:47 +00:00
stekkel
76c2a4a9d5 Finally fixes de escaping '.' with sendmail. Sendmail supports the option -i
and with that option set we don't have to escape.

Thnx to Cor Bosman the issue is solved.
2002-10-08 11:27:55 +00:00
stekkel
5864703aee Hopefully this fixes finally the '.' problem on single lines. 2002-10-08 10:11:19 +00:00
stekkel
6bf49832f6 fixed warning 2002-10-07 17:09:36 +00:00
stekkel
4218de2642 fix parsing group related address headers. 2002-09-27 17:24:56 +00:00
stekkel
01eea88f16 rg=0 fixes 2002-09-25 18:03:52 +00:00
stekkel
a95d16b308 fix undefined var 2002-09-18 12:55:09 +00:00
Thijs Kinkhorst
5b9ce7663d Make directories unbrowsable. 2002-09-09 17:25:05 +00:00
stekkel
85d71cbd97 fix for bcc 2002-09-06 13:03:26 +00:00
stekkel
6c8afaf665 second try to fix sendMail. Return true after finalizeStream.
Very very stupid mistake from me. Maybe I shouldn't code anymore when I'm
tired.
2002-09-06 12:01:14 +00:00
stekkel
cc8ebf2298 Forgot to return the stream 2002-09-06 07:41:56 +00:00
thomppj
c8b6bdf9d9 More SM_PATH fixes. This time, everything in class/. 2002-09-06 00:21:24 +00:00
thomppj
73b01eeacb Fixed require_once paths in class/deliver/deliver_FOO.class.php 2002-09-05 23:39:33 +00:00
stekkel
ae9f77ebef remove unnessecarry \r\n 2002-09-05 12:48:44 +00:00
stekkel
d95ec7dffd extra error checking 2002-09-05 12:07:55 +00:00
stekkel
aca38665cc undisclosed recipients fix 2002-09-05 09:38:47 +00:00
stekkel
27b5ce3c1b xtra check for To addresses, if not available don't show the headerline.
Fix for bcc addresses. the returned length should contain the length of the
bcc-line because we want this information in the sent_folder.
2002-09-05 09:25:44 +00:00
stekkel
fb9dd1d095 Added function for initializing attachments (for compose) 2002-09-04 23:19:07 +00:00
stekkel
e0ef9312a3 fix for getbcc 2002-09-04 23:12:49 +00:00
stekkel
28fd011322 added info 2002-09-04 23:12:28 +00:00
stekkel
66cb0a4172 IMAP backend for the deliver class 2002-09-04 22:00:49 +00:00
stekkel
48d7c0d392 Sendmail backend for the deliver class 2002-09-04 22:00:19 +00:00
stekkel
847aef2731 SMTP backend for the Deliver class 2002-09-04 21:59:53 +00:00
stekkel
d1d860294f Make the thing actually work :-) 2002-09-04 21:59:08 +00:00
stekkel
73bbac7f3f testing fase 2002-09-03 20:55:30 +00:00
stekkel
43f9f16e50 code cleanup 2002-09-03 15:40:08 +00:00
stekkel
c6618da648 added file info 2002-09-02 19:35:25 +00:00
stekkel
637d5fc02c development work on the Deliver class.
Still not finished yet
2002-09-02 19:31:57 +00:00
stekkel
89c37601ed init 2002-08-30 17:30:55 +00:00
stekkel
0738fdaf7a init deliver class as replacement of smtp.php 2002-08-30 17:29:02 +00:00