Closed Bug 1701864 Opened 4 years ago Closed 4 years ago

"Failed to send email" error every time after upgrade to 88.0b1

Categories

(MailNews Core :: Composition, defect)

Thunderbird 88
defect

Tracking

(thunderbird_esr78 unaffected, thunderbird88 fixed)

RESOLVED FIXED
89 Branch
Tracking Status
thunderbird_esr78 --- unaffected
thunderbird88 --- fixed

People

(Reporter: nazar, Assigned: rnons)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:89.0) Gecko/20100101 Firefox/89.0

Steps to reproduce:

Updated to 88.0b1 and got new problems :(

  1. Try to send email using Thunderbird for GMail account

Actual results:

Email is sent, but says it failed to do so

Expected results:

Should not say that it failed to send email if it didn't fail

Why do I never have these problems when testing release candidates, or when using the application?

Sorry, I can't reproduce testing sending from my two Gmail accounts using 88.0b1 on Fedora 33 Workstation, Gnome desktop.

I'm not using it on a regular basis because reading binary newsgroups is broken.

It is 100% reproducible for me with both GMail and iRedMail-based servers, so I don't think it is server-specific.
If there is any information I can provide to help with solution, let me know.

I had this problem once, then I started with a fresh new profile and the problem was gone. I didn't find the root cause. Would you mind trying a fresh profile?

I would prefer to not create a fresh profile and lose all of the settings to be honest and the issue should ideally be solvable without creation of new profile.

Sure, I was trying to say use a fresh profile to test if the problem still exists. You can switch back to the current profile, and we can think of what to do next. Thanks.

Keywords: regression

Hi Nazar, can you tell me the value of mailnews.send.jsmodule and mailnews.smtp.jsmodule of your TB install? To find out, open the Preferences page, search for Config Editor, open it, then search for jsmodule.

They should both be true, if not, please set them to true and try sending again, thanks.

Flags: needinfo?(nazar)

"mailnews.send.jsmodule" was "false" because there was a regression I had to work around (https://bugzilla.mozilla.org/show_bug.cgi?id=1690957), "mailnews.smtp.jsmodule" is "true".
Setting "mailnews.send.jsmodule" to "true" again fixes the issue.

Flags: needinfo?(nazar)

Thanks. So SmtpService.jsm doesn't work well with nsMsgSend.cpp, I didn't test that much. Will leave this open for a while.

Attached patch 1701864.patchSplinter Review
Assignee: nobody → remotenonsense
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #9213514 - Flags: review?(mkmelin+mozilla)
Component: Untriaged → Composition
Product: Thunderbird → MailNews Core

Comment on attachment 9213514 [details] [diff] [review]
1701864.patch

Looks good as well. r=mkmelin

Attachment #9213514 - Flags: review?(mkmelin+mozilla) → review+
Target Milestone: --- → 89 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/4ef66f2d7077
Prevent an error when using nsMsgSend.cpp together with SmtpService.jsm. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED

Comment on attachment 9213514 [details] [diff] [review]
1701864.patch

[Approval Request Comment]
Regression caused by (bug #): bug 1661694
User impact if declined: When mailnews.send.jsmodule=false && mailnews.smtp.jsmodule=true, an error is shown after sending.
Testing completed (on c-c, etc.): c-c
Risk to taking this patch (and alternatives if risky): low

Attachment #9213514 - Flags: approval-comm-beta?
Regressed by: smtp-js

Comment on attachment 9213514 [details] [diff] [review]
1701864.patch

[Triage Comment]
Approved for beta

Attachment #9213514 - Flags: approval-comm-beta? → approval-comm-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: