Home : Products : Gossamer List : Discussion :

Products: Gossamer List: Discussion: Re: [bretzke] Undeliverable mail if commas in subscriber's name: Edit Log

Here is the list of edits for this post
Re: [bretzke] Undeliverable mail if commas in subscriber's name
Can you make some changes in Mailer.pm around line #687:

Code:
.....
my %head;
my $to_quoted = "$m->{eml_name} ";
my $from_quoted = "$info->{mli_name} ";
if ($to_quoted =~ /[^\w\s]/) {
$to_quoted =~ s/([\\"])/\\$1/g;
$to_quoted = '"' . substr($to_quoted, 0, -1) . '" ';
}
if ($from_quoted =~ /[^\w\s]/) {
$from_quoted =~ s/([\\"])/\\$1/g;
$from_quoted = '"' . substr($from_quoted, 0, -1) . '" ';
}
$head{from} = $info->{mli_name} ? $from_quoted . "<$info->{mli_from}>" : $info->{mli_from};
$head{to} = $m->{eml_name} ? $to_quoted . "<$m->{eml_email}>" : $m->{eml_email};
$head{subject} = $info->{mli_subject};
....

Hope that helps.

TheStone.

B.

Last edited by:

TheStone: Apr 5, 2005, 4:35 PM

Edit Log: