Closed Bug 306207 Opened 19 years ago Closed 19 years ago

sendmail support under Windows bypasses message encoding

Categories

(Bugzilla :: Email Notifications, defect)

2.21
x86
Windows XP
defect
Not set
blocker

Tracking

()

RESOLVED FIXED
Bugzilla 2.22

People

(Reporter: cedric.caron, Assigned: glob)

Details

Attachments

(1 file)

Sendmail support under windows (Bug 302418) bypass the e-mail encoding added 
by Bug 126266.
Summary: sendmail support under windows bypass message encoding → sendmail support under Windows bypasses message encoding
Attached patch patch v1 β€” β€” Splinter Review
*slaps head*
Assignee: email-notifications → bugzilla
Status: NEW → ASSIGNED
Attachment #194147 - Flags: review?
Comment on attachment 194147 [details] [diff] [review]
patch v1

I can't test this -- r=wurblzap provided you did and I understand correctly what you did.

Is this what you did?
1. You moved the encoding part up so that it happens before the Win-sendmail-specific part.
2. You're sending the encoded message to the Win-sendmail executable now instead of the unencoded one. You're sending it in two parts: header first, then body. The header is available by calling the as_string method of $headers, and the body immediately as $body.

Right?
Attachment #194147 - Flags: review? → review+
Flags: blocking2.22?
> tested ?

yes.  well, i think so.  it was a while ago :|

> 1. You moved the encoding part up so that it happens before the
> Win-sendmail-specific part.

yes.

> 2. You're sending the encoded message to the Win-sendmail executable now
> instead of the unencoded one. You're sending it in two parts: header first,
> then body. The header is available by calling the as_string method of
> $headers, and the body immediately as $body.

that's correct.
Flags: approval?
Flags: approval? → approval+
Checking in Bugzilla/BugMail.pm;
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/BugMail.pm,v  <--  BugMail.pm
new revision: 1.55; previous revision: 1.54
done
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
there is still a request for approval pending. reopening
Severity: normal → blocker
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
err... sorry, the pending request was for blocking2.22, not for approval2.20 (I used to see "approval2.20" as a second flag :-[ )
Status: REOPENED → RESOLVED
Closed: 19 years ago19 years ago
Flags: blocking2.22?
Resolution: --- → FIXED
Target Milestone: --- → Bugzilla 2.22
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: