Can't send Test Email from Server Settings to Office 365

If you are having a problem using Vault, post a message here.

Moderator: SourceGear


Posts: 30
Joined: Wed Nov 18, 2009 9:58 am
PostPosted: Tue Jan 29, 2019 11:04 am
Hi,

I'm trying to configure Email Settings in Vault Standard 10 Server and am getting the following message when clicking Test Settings...

--------------------------------------------------------------------------------------------------
Exception: The transport failed to connect to the server.

Inner Exception: Exception has been thrown by the target of an invocation.
Inner Exception: The transport failed to connect to the server.
--------------------------------------------------------------------------------------------------

Google tells me Office 365's SMTP requires TLS encryption (not SSL) which may be the underlying cause, but I can't tell. I've tried the following both with and without "Use SSL" but with no luck:
- SMTP Server: smtp.office365.com
- SMTP Port: 587
- Use SSL: Yes | No
- SMTP Auth User: [My Office 365 / Exchange Online email address]
- SMTP Password: [My Office 365 / Exchange Online password]

Any ideas? Do you need to update the server code to support TLS?

Thanks!
Andy.

Posts: 443
Joined: Thu Jan 20, 2005 1:47 pm
Location: SourceGear
PostPosted: Tue Jan 29, 2019 2:34 pm
Hi Andy,

We do have a special client that we can provide you with that supports TLS 1.2/2.0. If you have this version installed, please email support@sourcegear.com and refer to this forum post.

If the new Vault client doesn't resolve the problem, we can troubleshoot from there.

Thanks,

Tonya

Posts: 443
Joined: Thu Jan 20, 2005 1:47 pm
Location: SourceGear
PostPosted: Wed Jan 30, 2019 9:47 am
I just discovered that this issue may have already been resolved in a newer version of the Vault Server.

Can you please log into Vault with the GUI Client and provide us with the details shown in Help -> Technical Support? We'd like to know what Vault Server version you have installed.

Thanks,

Tonya

Posts: 30
Joined: Wed Nov 18, 2009 9:58 am
PostPosted: Fri Feb 01, 2019 5:25 pm
Hi,

I've just updated my Vault server (and clients) to:

-------------------------------------------------
About SourceGear Vault Standard
Version 10.0.2.936
-------------------------------------------------

But the email settings on the server still produce the same error when trying to send via SMTP / TLS to an Office 365 account.

I'm not sure in your other comment what you mean about a client that supports TLS 1.2/2.0, as it's the server email settings I'm trying to configure here and not the client..

Thanks,
Andy.

Posts: 443
Joined: Thu Jan 20, 2005 1:47 pm
Location: SourceGear
PostPosted: Mon Feb 04, 2019 10:51 am
Andy,

Yes, I apologize for the confusion with the client. Once I realized this was a server issue that's when I followed up with the request on the version information. I should have been more clear to disregard my initial response.

Can you please log in with a Vault GUI client and report back Help -> Technical Support. We'd like to know the .Net Framework version being used by the Vault Server.

Thanks,

Tonya

Posts: 443
Joined: Thu Jan 20, 2005 1:47 pm
Location: SourceGear
PostPosted: Mon Feb 04, 2019 11:58 am
Andy,

One of our developers has been doing some research and discovered that it looks like there's some new handshaking requirements in the SMTP protocol that was added for TLS, and it appears as if the SmtpClient used in Vault notifications is unable to negotiate this TLS configuration.

We have logged a bug to replace the underlying MS libraries with an updated one which can use these newer protocols to be implemented in a later release of Vault. I will link your forum post to the bug so that we notify you when the release is available.

Tonya

Posts: 30
Joined: Wed Nov 18, 2009 9:58 am
PostPosted: Tue Feb 05, 2019 5:27 am
Hi Tonya,

Thanks for getting it added to the bug list. FYI here is the Help->Technical Support info you requested:

-----------------------------------------------------------------------------------------
Client Information
Vault Standard Client Version: 10.0.2.936
.NET Framework Version: 2.0.50727.9035
Operating System: Microsoft Windows 10 Pro
Service Pack: 0.0
OS Version: 10.0.17763
Total Physical Memory: 4 GB
Time Zone: (UTC+00:00) Dublin, Edinburgh, Lisbon, London

Server Information
Server Version: 10.0.2.936
.NET Framework Version: 4.0.30319.42000
Operating System: Microsoft Windows Server 2016 Standard
Service Pack: 0.0
OS Version: 10.0.14393
Timezone: (UTC+00:00) Dublin, Edinburgh, Lisbon, London
SQL Version: Microsoft SQL Server 2016 (SP1-GDR) (KB4458842) - 13.0.4224.16 (X64)
-----------------------------------------------------------------------------------------

Thanks,
Andy.

Posts: 443
Joined: Thu Jan 20, 2005 1:47 pm
Location: SourceGear
PostPosted: Tue Feb 05, 2019 11:19 am
Thank you Andy. I will pass this information along.

Tonya

Return to Support (Vault)

Who is online

Users browsing this forum: No registered users and 5 guests