SQL Server 2016 Send mail feature

Source: Internet
Author: User

--1 Installing SQL Server 2016

--2 Installing. Net 3.5

Because SQL Server 2016 installation does not prompt to force the installation of. NET 3.5 but still needs to be installed, the database sends messages using the content provided by. NET 3.5, and if you do not install. NET 3.5 then mail does not send properly

Windows Server R2 installation of. NET 3.5 failed to install in the Add Services and Applications feature, prompting 0x800f0907

This is because the installation source files for. NET 3.5 are required.

The best way to do this is to load the Windows Server R2 ISO image to disk using the virtual optical drive, and then read the contents of the SxS folder under source to install the alternate installation source.

--3 Configuring mail delivery

The first time you use it, follow the default options

Create configuration files, add configuration accounts, etc.

Check public access to avoid permissions, but many mail servers require Basic authentication. This is a private mail server, and there's no limit.

--4 activating the Database Mail function

sp_configure ' show advanced ', 1
GO
RECONFIGURE
GO
sp_configure ' Database Mail XPs ', 1
GO
RECONFIGURE
GO

--5 test Send mail

--6 Confirm receipt, if not received, note the Firewall section and the configured mail profile information

SQL Server 2016 Send mail feature

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.