Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More
Open

Manual configuration for EWS account does not use EWS to send the email

rickyepoderi replied
rickyepoderi

Hi!

I have configured a EWS email account that requires manual configuration (I need to pass the override Office365 settings with application ID, tenand ID,...). When I select manual config I can configure the EWS server settings OK and the receiving part works OK. The problem is the outgoing server is not created OK (it is imap with password setup). I need to use the same EWS to send the email, imap is not allowed in the account. And I cannot configure the account to use EWS as the outgoing server. The outgoing server cannot be EWS and I need to setup one. So I'm in a loop.

For what I have read, thunderbird can send the email using EWS (https://support.mozilla.org/en-US/kb/thunderbird-and-exchange), but my feeling is that using manual setup (which I need to do to configure this account) breaks something internally and the outgoing is separated from the EWS receiving part. And I cannot configure back to use the internal EWS configuration in the receiving server part.

Can I do something to send emails using the same EWS configuration? What does the automatic setup to use the EWS configuration? Is there any bug for this situation?

Thanks in advance!

Hi! I have configured a EWS email account that requires manual configuration (I need to pass the override Office365 settings with application ID, tenand ID,...). When I select manual config I can configure the EWS server settings OK and the receiving part works OK. The problem is the outgoing server is not created OK (it is imap with password setup). I need to use the same EWS to send the email, imap is not allowed in the account. And I cannot configure the account to use EWS as the outgoing server. The outgoing server cannot be EWS and I need to setup one. So I'm in a loop. For what I have read, thunderbird can send the email using EWS (https://support.mozilla.org/en-US/kb/thunderbird-and-exchange), but my feeling is that using manual setup (which I need to do to configure this account) breaks something internally and the outgoing is separated from the EWS receiving part. And I cannot configure back to use the internal EWS configuration in the receiving server part. Can I do something to send emails using the same EWS configuration? What does the automatic setup to use the EWS configuration? Is there any bug for this situation? Thanks in advance!

All Replies (1)

Finally I configure it OK. Maybe the reason was I had made a lot of tries or something. I don't know. Finally my prefs.js is like this:

``` user_pref("mail.outgoingserver.ews1.auth_method", 10); user_pref("mail.outgoingserver.ews1.description", ""); user_pref("mail.outgoingserver.ews1.ews_url", "https://outlook.office365.com/EWS/Exchange.asmx"); user_pref("mail.outgoingserver.ews1.key", "ews1"); user_pref("mail.outgoingserver.ews1.username", "<myemail>"); ... user_pref("mail.smtpserver.ews1.authMethod", 10); user_pref("mail.smtpserver.ews1.description", "<mydesc>"); user_pref("mail.smtpserver.ews1.ews_url", "https://outlook.office365.com/EWS/Exchange.asmx"); user_pref("mail.smtpserver.ews1.hostname", "outlook.office365.com"); user_pref("mail.smtpserver.ews1.port", 465); user_pref("mail.smtpserver.ews1.try_ssl", 3); user_pref("mail.smtpserver.ews1.type", "ews"); user_pref("mail.smtpserver.ews1.username", "<myemail>"); ```

Then you need to add the `ews1` to the `mail.smtpservers`. In my case I have three accounts:

``` user_pref("mail.smtpservers", "smtp1,smtp3,ews1"); ```

And after that I can join my account to the ews1 outgoing server. In the main account settings of the EWS account the `Outgoing Server` in the end can be changed to use the edscription used in the `ews1`.

I started creating it manually as smtp and then changing it to ews. I detected that creating a mnual smtp server adds the `mail.smtpserver.smtpX` entries. I change them to `mail.smtpserver.ews1`. Then realized that the `mail.outgoingserver.ews1` are related and in my conf I had several of them (like remnants form my previous tries). I changed to use the same `mail.outgoingserver.ews1` with more or less the same values and now it works. I can send emails using my EWS only account.

Don't know if my initial issue was because the manual config, several tries I did to configure this account or even more things. But finally it seems to work OK. I can receive and send emails now.

Do a copy of your prefs.js before doing this. :-D

Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.