Frank M. Kromann
e2c5462d91
Oops. Last commit reverted some of sebastians changes.
2002-07-02 23:44:06 +00:00
Frank M. Kromann
57ec06677f
Switch from imap_sendmail.* to sendmail.c under Win32
2002-07-02 22:29:13 +00:00
Sebastian Bergmann
596859eb44
Remove unused local variables.
2002-06-14 05:42:08 +00:00
Markus Fischer
d4711e51ae
- We don't need the check here because the regex makes sure we never have \r\n
...
at the end of the header.
2002-06-13 22:25:28 +00:00
Stefan Esser
6189dac445
Typo: == instead of =
2002-06-13 21:55:26 +00:00
Stefan Esser
c3c4c6137a
- should fix bug#17753
2002-06-13 21:42:39 +00:00
Markus Fischer
6c6ac37be4
- Headers are now rewritten to always have \r\n line endings for SMTP.
...
Also automatically removes superflous line breaks at
the start and end of the header.
# http://cr.yp.to/docs/smtplf.html is a good read about this topic.
2002-06-05 17:08:38 +00:00
Markus Fischer
44afb19d40
- Fix a leak and a crash.
2002-06-03 14:39:30 +00:00
Markus Fischer
9a97d55647
- Only add the To: field with the $to parameter if we don't have it in the
...
custom header. This was the behaviour < 4.2.x (but it was broken, this one
isn't).
# last commit for today, promised.
2002-06-02 23:39:59 +00:00
Markus Fischer
d497ca147e
- Revert fix for #14407 . The From: header field IS different from the
...
sendmail_from field which is in fact the retturn path.
2002-06-02 22:54:48 +00:00
Markus Fischer
1ec78a1e18
- Try to fix most of the buffer overflows and dynamically allocate memory where
...
applicable.
2002-06-02 22:10:25 +00:00
Markus Fischer
b04656ad40
- Finish implementation of custom smtp port (introduces "smtp_port" ini config).
2002-06-02 17:13:48 +00:00
Markus Fischer
c43f813d8e
- Rephrase comment
2002-06-02 16:25:06 +00:00
Markus Fischer
05293f09eb
- Classig problem: right idea, wrong pointer ...
2002-06-02 15:29:07 +00:00
Markus Fischer
aec7987d9e
- Win32 mail() is no longer case-sensitive when it comes to match for any headers
...
(e.g. from:, cc:, etc).
# Fixed also a crash I introduced earlier, which tells me no one tested it :)
2002-05-17 16:16:27 +00:00
Frank M. Kromann
bef1729fc6
Fixing line breaks
2002-05-15 17:40:28 +00:00
Markus Fischer
03faaee849
- Add support for Bcc in w32/sendmail code.
2002-05-15 10:11:33 +00:00
Markus Fischer
7a0866ff90
- Improve code so errors returned from the server are reported back to the user.
...
# Testers, testers, testers!
2002-05-14 20:40:39 +00:00
Markus Fischer
b63236bd84
- Do not include the Cc: for the first Cc'd recipient (spotted by Richard).
2002-05-14 16:03:40 +00:00
Markus Fischer
e3974c36ba
- Convert unix to dos line endings.
...
# This is *really* annoying ... can only be an advantage for windows users imho.
2002-05-14 15:32:15 +00:00
Markus Fischer
0815b55950
- Try to find From: field in header, fallback to sendmail_from php.ini setting
...
(Original patch by Michael Sisolak <msisolak@yahoo.com>, enhanced a bit).
@- Win32 mail() supports parsing 'From:' field from header (msisolak@yahoo.com , Markus).
2002-05-14 15:29:28 +00:00
Markus Fischer
87286cdb3f
- Fix win32 sendmail bug with Cc: in custom header not terminated with \r\n
...
- Fix some obvious errors returned by the module, little cleanup.
2002-05-14 13:52:18 +00:00
Frank M. Kromann
a0492dc8f4
Adding cvs ID
2001-12-20 18:06:13 +00:00
Frank M. Kromann
66d7578c36
Remove check for "To:" in headers. If "Reply-To:" exists the the To: entry was not created.
...
This is WIn32 only.
2001-12-04 23:33:52 +00:00
Frank M. Kromann
86a884e538
modified to enable imap_mail() on win32
2001-12-04 18:47:07 +00:00
Derick Rethans
2afc5d6924
- Fix for bug 8909 and 12680 (timezone problem)
2001-11-30 09:29:15 +00:00
Sterling Hughes
9a2726e208
This should fix the multiple-line problem.
2000-09-05 00:26:15 +00:00
Zeev Suraski
97cb10bc9e
Fix warning
2000-08-06 21:42:10 +00:00
Zeev Suraski
f59cbb9ed1
Fix & optimize
2000-08-06 21:38:41 +00:00
Stanislav Malyshev
62043b9a7c
Add Joey Smith's sendmail_port patch
2000-08-06 17:49:41 +00:00
Joey Smith
de486f7897
Geez, you'd think English wasn' tmy native tongue.
2000-08-04 04:49:45 +00:00
Joey Smith
62557742bd
Outdated URL, link to the master site instead.
2000-08-04 04:49:13 +00:00
Hartmut Holzgraefe
a525d022ce
should fix bug #5729
...
# I'm unable to test, as I still haven't got working Windows
# Please check that it compiles.
2000-07-28 12:21:44 +00:00
Thies C. Arntzen
3afe39e21f
fix warning in VC6
2000-07-11 11:52:48 +00:00
Jouni Ahto
51692417e8
- Oops, missed two GLOBAL()'s.
2000-07-10 14:52:17 +00:00
Jouni Ahto
4ecbeb8810
- Another attempt to sync with PHP3 and handle multiple recipients.
...
- Change all \'s to \r\n.
- It's now PHP 4.0 WIN32 -mailer.
# I'm unable to test, I haven't got Windows. Please check that it compiles.
2000-07-10 14:49:20 +00:00
Zeev Suraski
130b9e7ef2
Revert the sendmail.c patch - it uses 4 different variables that aren't defined, and breaks
...
the Win32 build
2000-06-27 18:41:44 +00:00
Hartmut Holzgraefe
6f2843fa20
should now get multiple To: and Cc: recievers right
...
(code taken from php3 version)
2000-06-27 16:15:16 +00:00
Andi Gutmans
1e5a405c5c
- Make Windows compile
...
- Windows doesn't support LC_MESSAGES
2000-06-17 14:48:03 +00:00
Hartmut Holzgraefe
87a491d7b6
C++ // comments are evil ...
2000-06-16 18:24:02 +00:00
Zeev Suraski
57882d58e1
Use php.ini instead of php3.ini
1999-06-19 13:18:48 +00:00
Frank M. Kromann
f6ad4b09c1
Sync. with php3. Only add Date: and From: if not supplied by user
1999-06-10 09:10:07 +00:00
Zeev Suraski
0818d96c97
A lot of cleanups... Removed old thread-safe code and other redundant code and files
1999-04-24 00:12:00 +00:00
Zeev Suraski
6f7c0edee3
Remove tls.[ch]
1999-04-23 20:06:01 +00:00
Zeev Suraski
e3d2234b80
A lot of php3_ini -> php_ini work
1999-04-10 13:32:47 +00:00
Zeev Suraski
aceaabceff
PHP 4.0
1999-04-07 21:05:13 +00:00