Closed
Bug 78410
Opened 24 years ago
Closed 24 years ago
Unable to send to mailing lists.
Categories
(MailNews Core :: Composition, defect, P1)
MailNews Core
Composition
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla0.9.1
People
(Reporter: skasinathan, Assigned: chuang)
References
Details
(Whiteboard: [nsbeta1+]have fix)
Attachments
(3 files)
1.25 KB,
patch
|
Details | Diff | Splinter Review | |
634 bytes,
patch
|
Details | Diff | Splinter Review | |
23.33 KB,
patch
|
Details | Diff | Splinter Review |
Compose a msg and address to a mailing list. (I selected the mailing list from
the autocomplete pop-up, if that matters). Send the msgs. Notice that it will
bounce back.
Build: Yesterdays commercial build on Win NT, Today's commercial build on Mac.
(Hoping the same on Mac).
Note:
1. In my case I had list called "test1" with couple of valid email id in it.
From the returned email looks like it tried to send to 'test1@netscape.com'.
2. Can this be dup of http://bugzilla.mozilla.org/show_bug.cgi?id=68188? In my
case mail bounces back, unlike the other bug.
OR can this be dup of http://bugzilla.mozilla.org/show_bug.cgi?id=54521? I'm
pretty sure when I filed bug 54521, it only adds the domain name to the end of
the list. But if I delete just the default domain name, the mail would go tgh!!
Comment 3•24 years ago
|
||
marking nsbeta1+
Priority: -- → P1
Whiteboard: [nsbeta1+]
Target Milestone: --- → mozilla0.9.1
I tried it, it looks like the mailing list didn't get expanded. I have a fix
which I'll attach later.
The problem is with the address book refactoring, the RDF root for all address
book is "abdirectory://" and the mork address book is "abmdbdirectory://". To
get all directories from RDF, we need to use "abdirectory://".
Suresh, please try on the patch to see if it fixed the problem you have.
Comment 8•24 years ago
|
||
Candice, can your fix places in mailnews where abdirectories:// still harcoded:
S:\mozilla\mailnews\addrbook\src\nsAbAutoCompleteSession.cpp(401): if
(!fileName.EqualsWithConversion("abdirectory://"))
S:\mozilla\mailnews\addrbook\src\nsAbAutoCompleteSession.cpp(532):
nsAutoString root; root.AssignWithConversion("abdirectory://");
S:\mozilla\mailnews\addrbook\src\nsAbBSDirectory.cpp(133):
if (!PL_strcmp(mURI, "abdirectory://") && GetDirList())
S:\mozilla\mailnews\addrbook\src\nsAddressBook.cpp(70):static const char
*kBSDDirectoryRoot = "abdirectory://";
S:\mozilla\mailnews\import\src\nsImportAddressBooks.cpp(65):static const char
*kDirectoryDataSourceRoot = "abdirectory://";
Reporter | ||
Comment 10•24 years ago
|
||
Candice, The patch fixes the mailing list pbm!!!
Assignee: suresh → chuang
Assignee | ||
Comment 11•24 years ago
|
||
I'll clean up the harded string regarding the uris. Now we have these constants
spread around the code
In mozilla/mailnews/addrbook/src/nsAddressBook.cpp --
const char *kDirectoryDataSourceRoot = kDirectoryRoot;
const char *kCardDataSourceRoot = kCardRoot;
//use this for creating new address book or directory
static const char *kBSDDirectoryRoot = "abdirectory://";
In mozilla/mailnews/addrbook/src/nsDirPrefs.h --
#define kCardRoot "abmdbcard://"
#define kDirectoryRoot "abmdbdirectory://"
#define kPersonalAddressbook "abook.mab"
#define kPersonalAddressbookUri "abmdbdirectory://abook.mab"
#define kCollectedAddressbook "history.mab"
#define kCollectedAddressbookUri "abmdbdirectory://history.mab"
In mozilla/mailnews/import/src/nsImportAddressBooks.cpp --
-static const char *kDirectoryDataSourceRoot = "abdirectory://";
I'll put all uri constants in mozilla/mailnews/addrbook/src/nsDirPrefs.h and
replace all related cinstants and hard coded strings.
#define kAllDirectoryRoot "abdirectory://"
#define kMDBCardRoot "abmdbcard://"
#define kMDBDirectoryRoot "abmdbdirectory://"
#define kPersonalAddressbook "abook.mab"
#define kPersonalAddressbookUri "abmdbdirectory://abook.mab"
#define kCollectedAddressbook "history.mab"
#define kCollectedAddressbookUri "abmdbdirectory://history.mab"
kDirectoryDataSourceRoot, kDirectoryRoot will be replaced with kMDBDirectoryRoot
.
kCardDataSourceRoot, kCardRoot will be replaced with kMDBCardRoot.
kBSDDirectoryRoot will be replaced with kAllDirectoryRoot.
I'll attach the patch later.
Status: NEW → ASSIGNED
Assignee | ||
Comment 12•24 years ago
|
||
Reporter | ||
Comment 13•24 years ago
|
||
r=suresh
Comment 14•24 years ago
|
||
R=ducarroz
Comment 15•24 years ago
|
||
sr=sspitzer
Assignee | ||
Comment 16•24 years ago
|
||
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 17•24 years ago
|
||
*** Bug 78986 has been marked as a duplicate of this bug. ***
Comment 18•24 years ago
|
||
*** Bug 68188 has been marked as a duplicate of this bug. ***
Comment 19•24 years ago
|
||
Linux (2001-05-09-08 trunk)
Win32 (2001-05-09-06 trunk)
Mac (2001-05-09-08 trunk)
This problem has been fixed.
Status: RESOLVED → VERIFIED
Updated•20 years ago
|
Product: MailNews → Core
Updated•17 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•