December 2015
Intermediate to advanced
760 pages
14h 31m
English
This recipe demonstrates how to set up Database Mail programmatically using PowerShell.
The assumption in this recipe is that Database Mail is not yet configured on your instance.
These are the settings we will use for this recipe:
|
Setting |
Value |
|---|---|
|
Mail Server |
|
|
Mail Server Port |
|
|
E-mail address for Database Mail profile |
|
|
SMTP authentication |
Basic authentication |
|
Credentials for e-mail address |
Username is Password is |
To set up Database Mail, follow these steps:
#import SQL Server module Import-Module SQLPS ...
Read now
Unlock full access