Closed Bug 47524 Opened 24 years ago Closed 24 years ago

Error sending mail messages - 100% failure

Categories

(MailNews Core :: Networking: SMTP, defect, P3)

x86
Windows 98
defect

Tracking

(Not tracked)

VERIFIED WORKSFORME

People

(Reporter: trudelle, Assigned: mscott)

Details

(Keywords: regression, smoketest, Whiteboard: [dogfood+][nsbeta3+]FOR TRUNK ONLY)

Attachments

(5 files)

Using today's N6 M18 verification build.

Launch into mail
Click NewMsg.
Message compose window appears (seems to be HTML)
address to self, add subject.
click Send.
Window goes away.
After a second or so, an alert appears: "Sending of message failed".
Tried on same profile I've been using for weeks, and on brand new profile.
adding appropriate keywords.  Sends okay on Linux using existing profile. 
I'm busy with beta2 work. Does anyone else see this besides Peter? I was able to
send mail okay today.

cc'ing some other mail folks who can help look. My existence is only the beta2
branch right now.

Peter are you sure your mail server is up?
Peter, does FCC is turn on? if yes, it's using a local or remote folder?
I've also sent mail successfully today.... are you sure the error that came up
was that the message wasn't sent? we have another blocker about copying messages
to your sent folder, though that one actually causes a crash
Also, does the recipient receive your message despite of the error message?

BTW, the crash in the copy operation should not occurs with optimized build but 
you should get an error instead.
this is working for me using nsmail-2 as my outgoing server, and NT. is your
server ok?
Putting on [dogfood+] FOR THE TRUNK
Whiteboard: [dogfood+] FOR THE TRUNK
I'm not seeing a failure to send but an error that says "your send operation was 
successfu, but copying the message to your Sent folder failed.  Would you like 
to return to the compose window" hitting either OK or cancel at this point 
causes a crash.  
I am also unable to reproduce failure to send on NT.

alekf, what is this other blocker reported as.  I have a stack trace if it's
needed.
Peter, can you generate a SMTP log?
http://www.mozilla.org/quality/mailnews/mail-troubleshoot.html
What Asa is seeing is bug 47497 which has been already fixed (but not yet in the 
verification build).
I'm able to send fine on Linux & Mac using the same server/account.  On Win98,
the message is not sent, nor copied to Sent folder. The error message is exactly
as I have described, I even checked to ensure correct capitalization.  I get
same result when copying to Sent on Local or IMAP folder.
I don't see any crash associated with this.  Will try SMTP log.
Peter did you perform activation on this profile any time in the last couple
days by any chance? 
reducing severity to drop off blocker radar.  Smoketesters didn't see it, I
installed it on a win98 system, I don't see it.  I can't hold the tree for this.
Severity: blocker → critical
Whiteboard: [dogfood+] FOR THE TRUNK
I activated on the new profile, but not the old.
I filed a bug that sonuds like this one over the weekend.
Were you messing around and adding additional email servers?
Most specifically, if you add additional SMTP servers to your list (often one
for each account), the prefs get pretty messed up.
I think that every time you select a new default SMTP server, the old default
server overwrites the name of the wanna-be default.

Bottom line question: How many smtp servers are you using in the cofiguration
that has trouble?

To check this out, exit out of navigator, and take a look at your prefs.js.
Search for "smtp" and see if the data seems to "make sense".

Then again... it could be something completely different :-/.
The attached log is from a failed send using my old profile.
Yeah something happend to the smtp settings for Peter's machine. It's trying to
start TLS!! which is completely unsupported in mozilla right now. We need to
figure out how we got in that state. 
second log is from successful send. I had to create a new profile (physically 
deleting Default User directory from underneath this time), cancel activation 
(twice, yeah I really, really meant it), create an account, and send.  Send 
succeeded, copy to default sent folder failed, program crashed immediately 
thereafter.
Perfect, the crash is the one I've just fixed. It's bug 47497. 
I got into these funky states when the smtp named server
"imap.mail.netcenter.com" got overwritten (in my prefs) by "nsmail-2". You
don't need to do very much to get this corrupution. Simply visiting the
"outgoing smtp server" pannel on the "mail news prefs" is enough to cause this
sort of corruption! I thought it only hit when you went to about 3 smtp
servers... but it really is pain.
You can also see stuff is getting rotten by looking at the "Advanced" pannel in
that pane... sometimes it shows 1 item, sometimes all of them.  Add a news
server, and all of them (plus the new one) will appear. :-/
I see why you asked about activation - we do an auth login if we think it's an
aol type smtp server. Or if the smtp server has the following pref set :
"auth_method" to 2.
Correcting a typo in the tail of my above comment:

Add a news server...

should have read

Add a new SMTP server ...
I fixed jar's problem on the branch and the tip yesterday where an activated
netcenter account would merge with an existing mail account (hence the
imap.netcenter.com stompage). So that should be a red herring because it's
fixed.  Unless activation was performed using builds from the last couple days
on an existing profile.
Putting on [dogfood+][nsbeta3+] radar.
Whiteboard: [dogfood+][nsbeta3+]FOR TRUNK ONLY
I did try to add a second smtp server last week, and had been switching the lone
smtp server regularly before and since, but thought I'd recovered from the pref
corruption.  Which prefs control TLS?
read my above comments again, or better yet, attach your prefs.js (it shouldn't
have any passwords in it).
I had an auth_method of 1 for the profile that failed.  The one that succeeded
has no such pref, so I'm deleting it to try to recover my main profile.  I'm
also getting rid of the smtp username, another difference between profiles.
1 is PREF_AUTH_ANY. What that means, I have no idea. The default seems to be 2,
which shows what I know about this code (less than nothing). But this code:

           if (m_prefAuthMethod == PREF_AUTH_ANY ||
                m_prefAuthMethod == PREF_AUTH_TLS_TRY ||
                m_prefAuthMethod == PREF_AUTH_TLS_ONLY)
            {
                buffer = "STARTTLS";
                buffer += CRLF;

looks like it will do starttls if the pref is set to any, as yours somehow got
set to.
removing those prefs get me into a state where the send button seems to be a NOP
once again.  will attach prefs.js, but I think this profile is done killed dead.
Looks like auth_method got added back as 1 after deletion. I'll try changing to
a 2.
That did it, I can send again!  Thanks for all your help.  
Getting off the radar since we have this working for Peter again.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → WORKSFORME
I'll mark verified wfm.
This is good info to know for troubleshooting for the pref to check.  I'll add 
to:  http://www.mozilla.org/quality/mailnews/mail-troubleshoot.html
Status: RESOLVED → VERIFIED
Cannot send attachment in either 1.0.0 or 1.1a.  No attachment of any type will
send.  Get an error message to check the mail setup preferences.

Attachements send fine in N4.7x
I cant send any email by smtp from mozilla.
I tried to send via several servers and checked all settings 
many times, but nothing helped.
I'm using windows.
The logfile that i activated doesnt report any thing about the 
sending.
The error message is "... unable to connect to SMTP-Server..."
But with outlook the sending works fine.

Mathis
I am having trouble sending out single mail.  The message that comes up states:
SMTP failed
Message could not be sent because connecting to SMTP server mail.qsuonline.com
failed. The server may be unavailable or is refusing SMTP connections.  Please
verify 
SMTP server settings is correct and try again, or contact network administrator.
The server is not down because others can send out e-mail.  This is really odd.
 Because the server is available and others can send out mail.  Please e-mail me
at our development@qsuonline.com which is receiving mail and not sending out and
my personal e-mail camey@qsuonline.com is not receiving or sending out.  Can you
please assiste me with this. Tell me if I need to download a program to fix this
or not.  Thanks in advance!
Product: MailNews → Core
Attached image Screen Capture
I have this same bug. How do I edit my prefs.js? 
Contact me at pedro1@rieder.net.py
It's nearly a week since this bug first show up in my machine. Plese, if someone
can explain me how to modify my pref.js file. I created an user.js file with teh
correct auth settings, but that have no effect. Do i need to erase my profile
like Peter did? What will happen to my mail? Any help will be appreciated.
By the way this started after i change to TB 1.0, i could send fine with 0.9
(In reply to comment #43)

I'm new to Thunderbird with 1.0, but was using Mozilla before that. Was in the
throes of reinstalling Windows XP SP2, when I noticed that outgoing mail didn't
work for me, with the "refusing SMTP connections" error. So I backed up to a
ghost from a couple hours earlier, and installed again, and then it worked. For
unrelated reasons, I had to start the reinstall again, and then I started
getting the same send error again, but reinstall didn't fix it.

When I turned on SMTP:4 logging to try to catch it, the problem went away. Send
worked fine twice. Turned off logging, and it still works. Let me know if I can
provide more useful info.

- dan
Had this problem after moving the user's Thunderbird (version 1.0 20041206)
profile from WinXP Pro box to WinXP Home. Wiping out the profile and letting
Thunderbird recreate the profile can fix the problem but then I had trouble
getting the users e-mail, address book etc. working, didn't know where they were
kept then. I thought I had fixed the problem by backup the profile. Uninstalling
Thunderbird and re-installing Thunderbird and moving back pieces of the profile
such as part of the mail folder and abook.mab & history.mab but that only works
until the machine is rebooted! Don't know permament fixed, can anyone out there
help me with this? thx
Product: Core → MailNews Core
I cannot send email with reply or compose I get an error message with "the mail server responded 5.1.0 authentication required, please verify your email address is correct in your mail preferences and try again" I was able to send email earlier today and now I get this. I love using thunderbird and never ran into this problem before. HELP!!! please
I cannot send email with reply or compose I get an error message with "the mail server responded 5.1.0 authentication required, please verify your email address is correct in your mail preferences and try again" I was able to send email earlier today and now I get this. I love using thunderbird and never ran into this problem before. HELP!!! please
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: