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:

2. Choose Manage Profile Security.

3. Configure your profile to be the default profile:

Comments