Commit Graph

8 Commits

Author SHA1 Message Date
Bharat Mediratta
2152baa65c Normalize exception string format. 2009-03-26 02:53:42 +00:00
Bharat Mediratta
b31c79a71f Fix a bug that I think I introduced in my last sendmail refactor where
I inverted the expectations on the result from mail() causing image
uploads to fail (even though the mail gets sent!)
2009-02-08 20:01:15 +00:00
Tim Almdal
8a738ed241 Correct comment on factory 2009-02-06 22:10:08 +00:00
Bharat Mediratta
1894a673bf Move test-related extensions to Sendmail into a subclass that we only
use in the test code (Sendmail_For_Test).
2009-02-05 07:51:11 +00:00
Bharat Mediratta
9e2b84d406 Minor code style changes. 2009-02-05 05:52:03 +00:00
Tim Almdal
41dbe5cf6c Changed the Sendmail library to allow the separator between mail
headers to be specified as a parameter.  The documents say that it
should be "\r\n".  Some sendmail programs seem to violate the
specification and get confused.  In these cases the header separator
is just "\n".

This change allows the header separator to be set by the a
configuration parameter.
2009-02-02 02:58:12 +00:00
Tim Almdal
d49484c9a6 Update the handling of the to field if the input field is an array 2009-02-01 03:55:40 +00:00
Tim Almdal
66fae63558 Create a sendmail library to wrap the call to the system sendmail
facility. Something quirky is happening in the first test, see comment
in code, but I couldn't figure it out.  Left a @todo for now.
2009-01-28 04:22:59 +00:00