Closed Bug 78410 Opened 24 years ago Closed 24 years ago

Unable to send to mailing lists.

Categories

(MailNews Core :: Composition, defect, P1)

defect

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9.1

People

(Reporter: skasinathan, Assigned: chuang)

References

Details

(Whiteboard: [nsbeta1+]have fix)

Attachments

(3 files)

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!!
Keywords: nsbeta1
QA Contact: esther → fenella
Re-assigning to myself
Assignee: ducarroz → suresh
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.
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://";
I will.
Candice, The patch fixes the mailing list pbm!!!
Assignee: suresh → chuang
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
Whiteboard: [nsbeta1+] → [nsbeta1+]have fix
r=suresh
R=ducarroz
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
*** Bug 78986 has been marked as a duplicate of this bug. ***
*** Bug 68188 has been marked as a duplicate of this bug. ***
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
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: