pdontthink
e7dae17b4b
It isn't a workaround
2005-04-14 11:01:25 +00:00
pdontthink
b0d0e420b6
Workaround for Courier when sending mixed messages with nested multipart/alternative parts
2005-04-13 23:22:53 +00:00
Jimmy Conner
53fe64165f
Fixed a few warning messages I ran into today when SMTP had died. We already output nice SMTP error messages, so no need to have the PHP code display its own errors.
...
Also, the property dlv_server_msg was only being set in the errorCheck function, which was never ran if the socket connection failed, so we would get an undefined error.
2005-03-21 20:35:33 +00:00
pdontthink
bb12b30d86
Linefeed not allowed in middle of Content-Type header
2005-02-28 04:20:44 +00:00
tokul
c21bb4c5c5
removing debuggin entry. /me bad.
2005-02-25 17:44:55 +00:00
stekkel
f1f8c4b41e
Remove NUL characters in case of text and message parts.
2005-02-18 02:19:10 +00:00
Thijs Kinkhorst
86f4edf09a
Do not send quality-headers if they are set to Normal, which is the default.
2005-02-08 15:56:18 +00:00
stekkel
937d6c3c02
Fixed: filenames in case of forwarding a message.
...
Cleanup: Make use of getFilename method from the Message class and remove
this code from mime.php
2005-02-07 18:06:17 +00:00
Thijs Kinkhorst
692119e3c4
Fix a couple more 'string concat on array push' bugs like the
...
one Marc just fixed.
2005-02-06 14:18:13 +00:00
stekkel
d808a39e8c
Fix typo. php 5 errors out on this.
2005-02-05 17:53:53 +00:00
Fredrik Jervfors
5fcc041bd2
Replacing tabs with spaces, trimming white space at EOL and newline at EOF (PHP only)
2005-01-07 17:42:23 +00:00
Fredrik Jervfors
9faf3051c1
Changing squirrelmail/Squirrelmail to SquirrelMail in some strings as well as other minor documentation fixes
2004-12-29 15:06:20 +00:00
Thijs Kinkhorst
a73561b911
Increment year in copyright notice.
2004-12-27 15:04:02 +00:00
jangliss
fb093cf7a6
RFC822 complianced with Received header. Fixes #1088548 .
2004-12-22 05:08:52 +00:00
Thijs Kinkhorst
7f32e1d4d0
Add support for recognising 'Priority' and 'Importance' headers next to the
...
'X-Priority' that we've been supporting for a long time.
2004-11-21 13:10:06 +00:00
Fredrik Jervfors
8c8ecffa57
Replacing tabs with spaces, trimming white space at EOL and newline at EOF
2004-11-02 22:21:34 +00:00
tokul
3815e401d7
qmail-inject does not support -i option. Thanks to Ken Brush for report
2004-11-01 10:59:22 +00:00
Jimmy Conner
2cd94f0d75
Removed variables that were initialized, but never actually used
...
Also remove a few more globals that were unused
Remove a few newlines at the end of files
Hopefully this will help shrink the memory footprint of SM just slightly
2004-11-01 02:05:15 +00:00
Jimmy Conner
6bfd0f1168
Remove unused globals
2004-10-31 23:24:09 +00:00
indiri69
4f3eee7215
Check and make sure the header property value is actually set to something before testing its first character. Fixes an undefined offset error when reading badly formed emails.
2004-10-30 21:12:13 +00:00
Jimmy Conner
427ad60e26
Remove newline from end of file
2004-10-28 06:53:13 +00:00
Jimmy Conner
b6eda6eec6
Minor bug fix, just a misspelled variable
2004-10-28 06:49:33 +00:00
tokul
7e7d624b10
adding php-gettext classes
2004-10-04 13:35:08 +00:00
Thijs Kinkhorst
f13893fc99
It seems more logical to use the SERVER_NAME as the RHS of the Message-ID
...
than to use the remote host from which the user is connecting. Even more
since the REMOTE_ADDR is already contained within the Message-ID.
2004-08-11 11:03:37 +00:00
Thijs Kinkhorst
333090049b
If we use the IP as the RHS of the Message-ID, we need to enclose it in brackets
...
(RFC 822). And if we have the hostname available, we might as well use that.
Spotted by Andreas M. Kirchwitz, closes #1001295
2004-08-03 11:29:07 +00:00
Fredrik Jervfors
8a714b865f
Phpdocumentor update - sed is your friend for these kinds of things ;)
2004-05-22 13:41:17 +00:00
stekkel
6649c488bf
Fixed typo, thnx paul_s - psunners for spotting this.
2004-05-21 18:03:44 +00:00
tokul
571c4c3c6f
class needs phpdoc @package declaration
2004-05-10 10:00:00 +00:00
stekkel
ade9340460
php5 fix.
2004-05-05 14:39:15 +00:00
stekkel
7223179643
Documentation
2004-05-04 10:15:06 +00:00
stekkel
cd899f79a4
Documentation.
2004-05-04 09:51:13 +00:00
vanmer
7d5fd30fc5
-implented function clean_crlf
...
-Implemented to fix sendmail->postfix rejection of messages with attachments because of stray LF's
2004-05-03 22:22:44 +00:00
stekkel
d8688258f8
Bypass foldLine functions for email addresses to avoid wrong folding of
...
very long email addresses (>76 characters)
2004-04-26 17:29:10 +00:00
stekkel
7f510a8b05
merge back from stable, rfc2821 fix. Fall back to HELO if EHLO is not
...
supported.
2004-04-21 18:16:52 +00:00
stekkel
f56521638f
Fixed sending MDN messages. According RFC2298:
...
The From field of the message header of the MDN MUST contain the
address of the person for whom the message disposition notification
is being issued.
The envelope sender address (i.e., SMTP MAIL FROM) of the MDN MUST be
null (<>), specifying that no Delivery Status Notification messages
or other messages indicating successful or unsuccessful delivery are
to be sent in response to an MDN.
2004-04-05 23:42:26 +00:00
stekkel
e5cd713f54
When the data stream wasn't ending with \r\n the finalize stream function
...
could raise a 502 error. I hope this fixes it.
2004-03-30 17:42:21 +00:00
Erin Schnabel
c95bd9c564
Add SMTP setting to suppress SquirrelMail Received: header..
...
(may cause some email to be marked as spam if originating server
has dynamic IP, etc)
2004-03-27 23:27:29 +00:00
Thijs Kinkhorst
35716f7189
Add a comment to the X-Priority header (Highest,Normal,Lowest).
...
This is common in other clients, and some SpamAssassin rule triggers
on the absence of such.
2004-03-04 18:49:26 +00:00
Thijs Kinkhorst
af4bc6527f
Better support for malformed/absent dates and headerlines ending in only "\n".
2004-02-28 15:13:17 +00:00
Thijs Kinkhorst
cde0377d36
We're living in 2004 now... perl is your friend for these kinds of things :)
2004-02-24 15:51:22 +00:00
stekkel
9cc667d5b3
rollback, no time to find out what's wrong, postponed to after the release
2004-01-30 19:14:06 +00:00
stekkel
9e337827b5
Make an exception for email addresses in case of folding Header lines.
2004-01-30 18:57:43 +00:00
tokul
0d18ddba8e
It complains even more about FAKED_MUA_01 when both headers are present.
...
SA has to be fixed, not SquirrelMail.
2004-01-28 19:55:40 +00:00
indiri69
ad45a1d2e9
Added support for a couple of MIME Content- headers.
2004-01-11 02:55:17 +00:00
Erin Schnabel
cfdced5f7b
Some tweaks to SMTP auth to allow a site-wide user/pass override
...
(for those of us with a home installation that want to go out
using the ISP's SMTP server because people arbitrarily block
our dynamic IP addresses).
new function in auth.php assigns the correct user/pass values
based on the auth mechanism.
For some reason the initStream method in Deliver_SMTP was not using
the passed in user name, it was using the global $username, and had
the key and onetimepad declared, though it always used the passed in
parameter pass instead - cleaned that up so it used the user/pass values
passed in instead.
read_body and compose were updated to use the new function in auth.php
to get the correct username and password for SMTP auth, and pass these
values to initStream.
Works for me.
2004-01-04 06:11:15 +00:00
tokul
2cea5ee40c
fixing multiline headers. space or tab should not be removed.
...
tab is replaced by space, because it is later used split decoded string into chunks
2003-12-30 15:30:11 +00:00
Thijs Kinkhorst
fedfa298f3
A fix to make SquirrelMail work under PHP5 (at least the beta that was released
...
recently). All the basic functions work as expected.
2003-11-04 09:20:53 +00:00
tassium
46e4bd65a4
phpdocumentor basic preparation, continued
2003-10-28 21:30:57 +00:00
Brian G. Peterson
b40ce99ee0
fixed @returns to @return and added a few more comments
2003-10-28 19:44:39 +00:00
Brian G. Peterson
4596690121
added php docblocks to Deliver class and all functions
2003-10-28 19:34:43 +00:00