A colleague noticed that the invoice I emailed him had an invalid
Message-Id. Actually, it was his spam filter that noticed.  It should
have <> around the ID.

commit 54831ebfed46ef757c8449581df2c35d5aec83bb
Author: Michael Richardson <[email protected]>
Date:   Fri Jan 15 11:09:41 2010 -0500

    fixed msg id of generated emails

diff --git a/LedgerSMB/Mailer.pm b/LedgerSMB/Mailer.pm
index c1128d0..593fc3a 100755
--- a/LedgerSMB/Mailer.pm
+++ b/LedgerSMB/Mailer.pm
@@ -54,7 +54,7 @@ sub send {
     my $boundary = time;
     $boundary = "LSMB-$boundary";
     $domain =~ s/(.*?\@|>)//g;
-    my $msg_id = "$bounda...@$domain";
+    my $msg_id = "<$bounda...@$domain>";
 
     $self->{contenttype} = "text/plain" unless $self->{contenttype};
 



------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Ledger-smb-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel

Reply via email to