[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: message-id header invalid



On Fri, Jan 15, 2010 at 8:11 AM, Michael Richardson <..hidden..> wrote:
>
> 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.

I will look at committing the fix thanks.
>
> commit 54831ebfed46ef757c8449581df2c35d5aec83bb
> Author: Michael Richardson <..hidden..>
> 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 = "$boundary\@$domain";
> +    my $msg_id = "<$boundary\@$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
> ..hidden..
> https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel
>