Closed
Bug 41303
Opened 25 years ago
Closed 25 years ago
new email tech doesn't work with emailregexp
Categories
(Bugzilla :: Bugzilla-General, defect, P3)
Bugzilla
Bugzilla-General
Tracking
()
RESOLVED
FIXED
Bugzilla 2.12
People
(Reporter: JRobertson, Assigned: Chris.Yeh)
Details
(Whiteboard: 2.12)
Attachments
(2 files)
The new email tech doesn't seem to work with emailregexp. It just sends the
email to login_name, without adding emailsuffix. Since bugzilla is running on
a separate machine from our email server, sendmail just reports 'user not
found' or some such.
None of our bugzilla users have accounts on the actual bugzilla machine. :)
| Reporter | ||
Comment 1•25 years ago
|
||
This problem also extended itself to the CC list for the new email tech as well.
I'm attaching a patch that corrects this. I'm not sure if it is how mozilla
would implement it. But I like it (and that's why I'm using it! :)
At the end of NewProcessOneBug, just before NewProcessOnePerson is called, I
check the format of the person's address using a reg expression that I stole
from defparams ("^[^@, ]*@[^@, ]*\.[^@, ]*$"), which basically checks to see if
the address matches x@x.x
If the name does not match that expression, then I append emailsuffix to the
name. This corrects the above problems *and* allows someone outside of the
emailsuffix to be put in the CC list.
| Reporter | ||
Comment 2•25 years ago
|
||
| Reporter | ||
Comment 3•25 years ago
|
||
Darn. The first diff was a unified diff and it contained some commented test
code from the first modification I tried. I'm really sorry... I'll get the
hang of this soon I hope... Here comes another patch.
| Reporter | ||
Comment 4•25 years ago
|
||
| Reporter | ||
Updated•25 years ago
|
Whiteboard: 2.12
committed to trunk
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Comment 7•25 years ago
|
||
Sorry for the spam, but I needed to be able to query for all of these correctly.
Target Milestone: --- → Bugzilla 2.12
Comment 8•24 years ago
|
||
Moving closed bugs to Bugzilla product
Component: Bugzilla → Bugzilla-General
Product: Webtools → Bugzilla
Version: other → unspecified
Updated•13 years ago
|
QA Contact: matty_is_a_geek → default-qa
You need to log in
before you can comment on or make changes to this bug.
Description
•