Error:
No global profile is configured. Specify a profile name in the @profile_name parameter
Fix:
1. Open database mail configuration by logging into SQL Server Management studio and expanding Management and right clicking on DatabaseMail, then choosing configure:
![Public Mail Profile 1](http://gumption.co.nz/wp-content/uploads/2013/09/Public-Mail-Profile-1-300x242.png)
2. Choose Manage Profile Security.
![Public Mail Profile 2](http://gumption.co.nz/wp-content/uploads/2013/09/Public-Mail-Profile-2-300x255.png)
3. Configure your profile to be the default profile:
![Public Mail Profile 3](http://gumption.co.nz/wp-content/uploads/2013/09/Public-Mail-Profile-3-300x150.png)
Comments