summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2002-07-10 22:16:12 +0000
committerPeter Palfrader <peter@palfrader.org>2002-07-10 22:16:12 +0000
commit9a3c41647921a725f6f21dac11815e8af7d21492 (patch)
tree496a5b89ef771e21af9a7a7e8cbc994abee2df8a
parent1446959e2632b8e24ef14eee7a91a7965ad7246b (diff)
Fixed a stupid syntax bug
-rw-r--r--Echolot/Tools.pm4
-rw-r--r--NEWS3
2 files changed, 6 insertions, 1 deletions
diff --git a/Echolot/Tools.pm b/Echolot/Tools.pm
index 17a5980..36cf4cd 100644
--- a/Echolot/Tools.pm
+++ b/Echolot/Tools.pm
@@ -1,7 +1,7 @@
package Echolot::Tools;
# (c) 2002 Peter Palfrader <peter@palfrader.org>
-# $Id: Tools.pm,v 1.4 2002/07/10 21:46:28 weasel Exp $
+# $Id: Tools.pm,v 1.5 2002/07/10 22:16:12 weasel Exp $
#
=pod
@@ -116,6 +116,8 @@ sub send_message(%) {
};
$args{'Subject'} = 'none' unless (defined $args{'Subject'});
+ my @lines = map { $_."\n" } split (/\r?\n/, $args{'Body'});
+
open(SENDMAIL, '|'.Echolot::Config::get()->{'sendmail'}.' -f '.$args{'From'}.' -t')
or cluck("Cannot run sendmail: $!"),
return 0;
diff --git a/NEWS b/NEWS
index 91587df..1907cab 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+Changes in version 2.0beta7 - 2002-07-10
+ * fixed a stupid syntax bug.
+
Changes in version 2.0beta6 - 2002-07-10
* Did away with Mail::Internet. Using local sendmail binary only.
This also means the smarthost config option is obsolete and there