Closed Bug 288936 Opened 20 years ago Closed 17 years ago

cannot send mail without attachment - smtp connection timed out

Categories

(MailNews Core :: Composition, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: surkov, Unassigned)

Details

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041108 Firefox/1.0 (ax)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b) Gecko/20050217

When I try to send mail without attachment then I get after few seconds the next
message:
"Sending of message failed.

The message could not be sent because connecting to SMTP server failed. The
server may be unavailable or is refusing SMTP
connections. Please verify that you SMTP server settings is correct and try
again, or else contact your network administrator."
If I attach some files then mail is sended successfully.

Reproducible: Always

Steps to Reproduce:
Please see a test case.
Attached file test.js
don't forget to set your own settings for mail sending
Attached file test.xul
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:
Firefox:     http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey:   http://www.mozilla.org/projects/seamonkey/
confirm Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20050927
SeaMonkey/1.1a
sorry for the spam.  making bugzilla reflect reality as I'm not working on these bugs.  filter on FOOBARCHEESE to remove these in bulk.
Assignee: sspitzer → nobody
Alexandar, can you test this on trunk?
(In reply to comment #6)
> Alexandar, can you test this on trunk?
> 

Yes, I still get the message:

Sending of message failed.
The message could not be sent because the connection to SMTP server smtp.gmail.com timed out. Try again or contact your network administrator.
(In reply to comment #7)
> (In reply to comment #6)
> > Alexandar, can you test this on trunk?
> > 
> 
> Yes, I still get the message:

on build Build identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b2pre) Gecko/2007112922 SeaMonkey/2.0a1pre
David, is more than smtp log needed for this?
Summary: cannot send mail without attachment → cannot send mail without attachment - smtp connection timed out
smtp log would be pretty empty if we could not connect to the smtp server. My guess is that either that the reporter's isp or firewall or virus checker is blocking use of the smtp port for servers other than it's own (which AT&T does, among many others), or  the setup for the gmail smtp server is incorrect (e.g., if it requires an SSL connection). I don't believe having an attachment or not would make any difference. But if you can show an smtp log where it works for one message but can't connect to the server for an other, that would be interesting, I guess.
How can I get smtp log?
instructions@ http://www.mozilla.org/quality/mailnews/mail-troubleshoot.html#imap 
make sure you replace "protocol" as follows
  set NSPR_LOG_MODULES=imap:5

make your test (and log) and short as possible, attach the protocol log file to the bug

but replace imap with smtp :-)
I do

set NSPR_LOG_MODULES=smtp:5
set NSPR_LOG_FILE=c:\smtp.log
seamonkey

then execute test, file is created but it's empty (for both the first and the second cases), any idea?
you could try SMTP - I don't know if the module names are case-sensitive or not. I thought not, but it's worth a try.
no, not case sensitive (or shouldn't be)

 
> set NSPR_LOG_MODULES=smtp:5
> set NSPR_LOG_FILE=c:\smtp.log
> seamonkey

try ...
- ./seamonkey.exe
- quit seamonkey
- copy the log to another file before you restart seamonkey
alexandar, closing this incomplete, which you can reopen when you have a trace. Or feel free to reopen if you disagree. Thanks.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → INCOMPLETE
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: