Closed Bug 9048 Opened 27 years ago Closed 27 years ago

smtptest.exe - Failed on reading user prefs!

Categories

(MailNews Core :: Backend, defect, P3)

x86
Windows NT
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: ppandit, Assigned: mscott)

Details

Using this as a place holder for the following of which Rich Pizarrio has a fix for: D:\mozilla\dist\WIN32_D.OBJ\bin>smtptest Failed on reading user prefs! Here is the description from Rich: Found it. When we register the file locator service, you need to pass in the prog id...so, lines in any test programs that look like: nsComponentManager::RegisterComponent(kFileLocatorCID, NULL, NULL, APPSHELL_DLL, PR_FALSE, PR_FALSE); need to look like this: nsComponentManager::RegisterComponent(kFileLocatorCID, NULL, NS_FILELOCATOR_PROGID, APPSHELL_DLL, PR_FALSE, PR_FALSE); I will try to checkin changes later today when I get some other changes ready to go into the tree.
QA Contact: lchiang → ppandit
Summary: smtptest.exe - Failed on reading user prefs! → smtptest.exe - Failed on reading user prefs!
Tried on afternoon build for June 29 - got the same error. Making ppandit the QA Contact Par
Assignee: phil → rhp
reassigning to rhp, then.
Well, I made the change that fixed the other test programs but the tree is so horked right now, I can't get ANYTHING to run...so I'll let you know when this changes. - rhp
Status: NEW → RESOLVED
Closed: 27 years ago
Resolution: --- → FIXED
This should be fixed and working now. - rhp
Status: RESOLVED → REOPENED
REOPEN because tried with a debug build from today (June 30) at 12:40 p.m. D:\mozilla\dist\WIN32_D.OBJ\bin>smtptest ProfileName : Jun21RelInstall ProfileDir : C:\Program Files\Netscape\Users50\Jun21RelInstall Enter port to use [25]: Enter host name to use [nsmail-2.mcom.com]: Enter command number: 1 Location of message [message.eml]: Recipient of message [mscott@netscape.com]: ppandit@netscape.com Loading preferences for account: account0 Loading preferences for account: account1 Message Sent: FAILED! Enter command number:
Resolution: FIXED → ---
Status: REOPENED → RESOLVED
Closed: 27 years ago27 years ago
Resolution: --- → FIXED
Sorry to be persistent, but the prefs bug is fixed. The problem with reading the prefs would stop you well before you got asked all the questions. I just did a clobber build and here are my results: Y:\mozilla\dist\WIN32_D.OBJ\bin>smtptest ProfileName : rhp ProfileDir : P:\Users50\default Enter port to use [25]: Enter host name to use [nsmail-2.mcom.com]: Enter command number: 1 Location of message [message.eml]: c:\temp\tempMessage.eml Recipient of message [mscott@netscape.com]: rhp Loading preferences for account: account0 Loading preferences for account: account1 Message Sent: PASSED Enter command number: So this is working. If you got "Message Sent: FAILED", this could happen for any number of reasons, but the program is working. - rhp
Status: RESOLVED → REOPENED
smtptest is still failing. Rich's section is working so please reassign to mscott to take a look. C:\Program Files\NETSCAPE\Seamonkey\x86rel>smtptest Enter port to use [25]: Enter host name to use [nsmail-2.mcom.com]: Enter command number: 1 Location of message [message.eml]: Recipient of message [mscott@netscape.com]: ppandit@netscape.com Loading preferences for account: account2 Loading preferences for account: account1 Loading preferences for account: account0 Message Sent: FAILED! Enter command number:
Assignee: rhp → mscott
Status: REOPENED → NEW
Par, pls note the build number/day you are using.
Oops - forgot to include build info: July 13 Seamonkey release build 07/13/99 11:09a 20,976 SMTPTEST.EXE
Par, this seems to be working fine for me but I'm running it using necko (I'm on a branch). A couple questions: 1) What directory are you running smtpTest from? 2) where is the file you are trying to send? Is it in the same directory? A different directory?
Resolution: FIXED → ---
Clearing Fixed resolution due to ReOpen of this bug. if indeed Fixed...please mark as Resolved/Fixed. Thanks!
Par, pls update this bug w/your latest findings. Thanks. Once you do so, then we can assign the proper target milestone to this bug.
Scott - I'm still seeing the problem using the release build of seamonkey (7/27/99). Let's work together to figure it out. C:\Program Files\NETSCAPE\Seamonkey\x86rel>smtptest Enter port to use [25]: Enter host name to use [nsmail-2.mcom.com]: Enter command number: 0 Commands currently available: 0) List commands. 1) Send a message in a file. 9) Exit the test application. Enter command number: 1 Location of message [message.eml]: Recipient of message [mscott@netscape.com]: ppandit@netscape.com Message Sent: FAILED! Enter command number:
Status: NEW → ASSIGNED
Target Milestone: M9
let's wait till after necko lands. I re-wrote it to work with necko. No sense in spending time on it before then as it is going to be replaced today.
Hey Par, can you try this again now that necko has landed? Thanks.
I'm going to mark this as fixed as it works for me. Par, feel free to re-open this if you still have problems. I'm trying to shrink my M9 bug list.
Status: ASSIGNED → RESOLVED
Closed: 27 years ago27 years ago
Resolution: --- → FIXED
Par is out sick. Will try when he gets back. Thanks.
Status: RESOLVED → VERIFIED
We tried this out today. The debug version of smtptest.exe works but the release version does not. I will post a new bug for smtptest.exe and pop3test.exe do not work on release builds. There was also a multiple identity issue that was messing us up. A bug will be posted to alecf for that. Marking as VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.