December 21, 2010 at 5:45 pm
Good Day
I am new to a company and was given a pet project to set up the sql mail server to send email notifications when scheduled task fails to run.
I have been reading guides this past few days and i haven't seen any that has help resolve the issue that i have encountered.
First here are the details:
OS: Windows XP Service Pack 3
MS SQL: MS SQL Server 2000 Service Pack 4
Mail Client: Microsoft Outlook 2003
Mail Server: Pop3, SMTP
All our accounts use pop3 and smtp
The re occurring problem that i have been encountering with all the guides is that:
1) The SQL Mail Profile does not appear in the dropdown
2) Some guides suggest manually typing the profile name and encounters the testing "error 18025:xp_test_mapi_profile: failed with mail error 0x80040111"
Thanks
December 21, 2010 at 7:59 pm
Login with the same account that SQL uses to login. Create the mail profile. Restart SQL and agent. Then it will be in the list..
CEWII
December 21, 2010 at 8:40 pm
@Elliott Whitlow
I am using the system account (admin account), if I'm correct the mail profile is made with this steps
Control Panel -> Mail -> Show Profiles -> Add
if so, yes i have already have created a mail profile as instructed with the guides that i have read.
Thanks
December 21, 2010 at 9:11 pm
If you are using something like localsystem, network service, or something like that you are already done. That is not a supported configuration. SQL MUST login as a user.
Sorry. The system does not have mail profiles, users do.
CEWII
December 22, 2010 at 12:20 am
Can you pls elaborate further?
I'm kinda new to this so I didn't understand much of what you posted earlier
Thanks
December 22, 2010 at 6:48 am
Ok, SQL Sever must be using an either local account (created on the machine) or a domain account to login. This account is what the services use. You can setup a mail profile by logging in on the machine as the same user and setting the profile up. But first you need to get SQL using a user account.
CEWII
December 22, 2010 at 8:10 am
Elliott Whitlow (12/22/2010)
Ok, SQL Sever must be using an either local account (created on the machine) or a domain account to login. This account is what the services use. You can setup a mail profile by logging in on the machine as the same user and setting the profile up. But first you need to get SQL using a user account.CEWII
visualizing what Elliot said...the account used has to login to the SQl desktop...so if you go to services you might see this:
That account has never logged into the SQl desktop, and thus can never have had Outlook set up.
so you either have to login as that account once, or change the acocunt that SQL is running under:
Lowell
December 22, 2010 at 9:13 am
Thanks Lowell.
CEWII
January 29, 2011 at 12:16 am
Thanks guys this really helped me out.
i know this might be an OT question but here i go
have any of you experienced having a lock on .pst between outlook 2003 and sql mail server?
I experienced this just this morning with the 3 servers that i was planning to configure auto notifications for failed jobs
TIA
January 31, 2011 at 12:59 pm
This would only happen if you were using SQL Mail, which uses MAPI, I thin kwe might have missed that you were using SQL Mail.. I STRONGLY recommend against using SQL Mail, database mail is the way to go..
However, by default it isn't available, BUT if you follow these instructions it will be 🙂
http://weblogs.sqlteam.com/mladenp/archive/2007/07/01/60245.aspx
CEWII
Viewing 10 posts - 1 through 10 (of 10 total)
You must be logged in to reply to this topic. Login to reply