Home : Products : Gossamer Mail : Discussion :

Products: Gossamer Mail: Discussion: Re: [anup123] Message Threading in GM2.2: Edit Log

Here is the list of edits for this post
Re: [anup123] Message Threading in GM2.2
Compose.pm:
Code:
@@ -915,9 +915,7 @@
}
else {
$mail->top_part->set(date => $mail->date_stamp);
- if ($CFG->{email}->{out} eq 'smtp') {
- $mail->top_part->set('Message-Id' => '<GMail.' . time . '.' . $$ . rand(10000) . '@' . $CFG->{email}->{smtp} . '>');
- }
+ $mail->top_part->set('Message-Id' => '<GMail.' . time . '.' . $$ . rand(10000) . '@' . ($CFG->{email}->{out} eq 'smtp' ? $CFG->{email}->{smtp} : $USER->{domain}) . '>');

# Check if we are over max for today
if ($CFG->{limits}{max_emails_per_day} and $CFG->{limits}{max_emails_per_day} > 0) {

Adrian

Last edited by:

brewt: Feb 11, 2004, 10:07 AM

Edit Log: