Closed Bug 277106 Opened 20 years ago Closed 20 years ago

Bugzilla::BugMail::MessageToMTA function doesn't have a way to specify header values

Categories

(Bugzilla :: Email Notifications, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 49893

People

(Reporter: abenea, Assigned: abenea)

Details

If we are ever going to solve bug 49893 we need at least the values of "To" and 
"Subject" passed to this function. I suggest using a hash.
Assignee: justdave → abenea
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Linux → All
Hardware: PC → All
I'd look at how Mail::Send takes arguments, as that's what we're likely going to
be using as the backend for this at some point. (Or something like that.)

Actually, I think we'd want another wrapper around MessageToMTA for this sort of
functionality. Something like send_message or something. MessageToMTA should
only take the parameters necessary to actually transfer a message to the MTA.
Oh, also, this is actually an enhancement -- it doesn't cause any *problems*
with the code that currently exists, it will just allow us to add another feature.
Severity: normal → enhancement
Summary: Bugzilla::BugMail::MessageToMTA function doesn't have a way to specify header values → Bugzilla::BugMail::MessageToMTA function needs a way to specify header values
This function was not designed to do anything other than centralize the existing
sendmail calls, using an API quite similar to what was already done (forcing
sendmail to extract that data out of the email).  There are already multiple
bugs which cover adding this functionality to our mail calls, one of which is
actually bug 49893.  I would suggest that adding this functionality before we
actually have a reason to use it would potentially lead to an incomplete
interface which would need to be rewritten anyway once those land. 

*** This bug has been marked as a duplicate of 49893 ***

*** This bug has been marked as a duplicate of 49893 ***
Severity: enhancement → normal
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Summary: Bugzilla::BugMail::MessageToMTA function needs a way to specify header values → Bugzilla::BugMail::MessageToMTA function doesn't have a way to specify header values
*** Bug 280911 has been marked as a duplicate of this bug. ***
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.