A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - General Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

sending email alerts from Sql Server



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old April 11th 06, 03:20 PM posted to microsoft.public.outlook,microsoft.public.outlook.general,microsoft.public.sqlserver.programming,microsoft.public.sqlserver.server
helpful sql
external usenet poster
 
Posts: 1
Default sending email alerts from Sql Server

Hi,
I would like to send email alerts from Sql Server when a Sql Server job
fails. When I try to send a test alert from Sql Server, it gives me an error
saying something like "Outlook is not set as the deault client". I don't
know how to fix this. Can anyone please help?

Thanks in advance.


  #2  
Old April 11th 06, 03:39 PM posted to microsoft.public.outlook,microsoft.public.outlook.general,microsoft.public.sqlserver.programming,microsoft.public.sqlserver.server
Aaron Bertrand [SQL Server MVP]
external usenet poster
 
Posts: 4
Default sending email alerts from Sql Server

http://www.aspfaq.com/2403



"helpful sql" wrote in message
...
Hi,
I would like to send email alerts from Sql Server when a Sql Server job
fails. When I try to send a test alert from Sql Server, it gives me an
error saying something like "Outlook is not set as the deault client". I
don't know how to fix this. Can anyone please help?

Thanks in advance.



  #3  
Old April 11th 06, 03:39 PM posted to microsoft.public.outlook,microsoft.public.outlook.general,microsoft.public.sqlserver.programming,microsoft.public.sqlserver.server
Groove
external usenet poster
 
Posts: 1
Default sending email alerts from Sql Server

I tried this months ago and to abandon the idea due to off site email server
issues.

I vaguely remember something along the lines of Outlook 2000 or higher must
be installed and you MUST have an MS Exchange Server account to send from.
Some said the Exchange account wasn't required and some said it was. I
think ultimately, I found out it was required.....






"helpful sql" wrote in message
...
Hi,
I would like to send email alerts from Sql Server when a Sql Server job
fails. When I try to send a test alert from Sql Server, it gives me an
error saying something like "Outlook is not set as the deault client". I
don't know how to fix this. Can anyone please help?

Thanks in advance.



  #4  
Old April 11th 06, 04:17 PM posted to microsoft.public.outlook,microsoft.public.outlook.general,microsoft.public.sqlserver.programming,microsoft.public.sqlserver.server
Aaron Bertrand [SQL Server MVP]
external usenet poster
 
Posts: 4
Default sending email alerts from Sql Server

I tried this months ago and to abandon the idea due to off site email
server issues.


Any Windows or Unix server within your network (including the SQL Server box
itself) can be configured to accept SMTP traffic and relay it (and this can
be made safe from abuse simply by being inside your network and having a
half-competent noc person employed or contracted).

I vaguely remember something along the lines of Outlook 2000 or higher
must be installed and you MUST have an MS Exchange Server account to send
from.


This is only for SQL Mail. There are plenty of other alternatives for
sending mail from SQL Server (see the link I posted earlier).

A


  #5  
Old April 12th 06, 01:24 AM posted to microsoft.public.outlook,microsoft.public.outlook.general,microsoft.public.sqlserver.programming,microsoft.public.sqlserver.server
Greg D. Moore \(Strider\)
external usenet poster
 
Posts: 2
Default sending email alerts from Sql Server


"Groove" wrote in message
...
I tried this months ago and to abandon the idea due to off site email

server
issues.

I vaguely remember something along the lines of Outlook 2000 or higher

must
be installed and you MUST have an MS Exchange Server account to send from.
Some said the Exchange account wasn't required and some said it was. I
think ultimately, I found out it was required.....


It is not required.

However, my experience has found that you should install the SMTP server
that comes with IIS on the same physical box as SQL Server.

Set up your outlook profile (which IS absolutely required with SQL 2000) to
send to that local SMTP server. This will eliminate almost all your
problems. This works great for sending from SQL Server. I tend to not send
TO SQL Server.

Remember to setup the Outlook profile from the same account SQL Server and
Agent are running from.








"helpful sql" wrote in message
...
Hi,
I would like to send email alerts from Sql Server when a Sql Server

job
fails. When I try to send a test alert from Sql Server, it gives me an
error saying something like "Outlook is not set as the deault client". I
don't know how to fix this. Can anyone please help?

Thanks in advance.





  #6  
Old April 12th 06, 03:19 AM posted to microsoft.public.outlook,microsoft.public.outlook.general,microsoft.public.sqlserver.programming,microsoft.public.sqlserver.server
Aaron Bertrand [SQL Server MVP]
external usenet poster
 
Posts: 4
Default sending email alerts from Sql Server

Set up your outlook profile (which IS absolutely required with SQL 2000)
to
send to that local SMTP server.


Why is Outlook "absolutely required"? I use Gert's xp on multiple servers,
and none of them have Outlook installed.


  #7  
Old April 12th 06, 03:19 AM posted to microsoft.public.outlook,microsoft.public.outlook.general,microsoft.public.sqlserver.programming,microsoft.public.sqlserver.server
Aaron Bertrand [SQL Server MVP]
external usenet poster
 
Posts: 4
Default sending email alerts from Sql Server

Set up your outlook profile (which IS absolutely required with SQL 2000)
to
send to that local SMTP server.


Why is Outlook "absolutely required"? I use Gert's xp on multiple servers,
and none of them have Outlook installed.


  #8  
Old April 12th 06, 04:10 AM posted to microsoft.public.outlook,microsoft.public.outlook.general,microsoft.public.sqlserver.programming,microsoft.public.sqlserver.server
Greg D. Moore \(Strider\)
external usenet poster
 
Posts: 2
Default sending email alerts from Sql Server


"Aaron Bertrand [SQL Server MVP]" wrote in message
...
Set up your outlook profile (which IS absolutely required with SQL 2000)
to
send to that local SMTP server.


Why is Outlook "absolutely required"? I use Gert's xp on multiple

servers,
and none of them have Outlook installed.


If you're using the native xp_sendmail or the having SQL Agent send
success/failure emails(which is what I believe the original poster was
asking about) you need a MAPI compliant mail client. Outlook is the
"easiest".

If you're using other XPs, obviously the requirements are different.






  #9  
Old April 11th 06, 03:48 PM posted to microsoft.public.outlook,microsoft.public.outlook.general,microsoft.public.sqlserver.programming,microsoft.public.sqlserver.server
Maninder
external usenet poster
 
Posts: 1
Default sending email alerts from Sql Server

http://www.sqldev.net/xp/xpsmtp.htm
Try using this. I use this all the time.
There is a well known Best Practice on PROD Servers of not using Office
componenets on PRODUCTION BOXES beacuse of Security Factors.
Make Life Easier for you.. use something that already there.... and
easier to use.

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Oultook and sql-server Filips Benoit Outlook - General Queries 0 April 3rd 06 08:06 PM
insert data in SQL using Asp safs Outlook - Using Contacts 1 March 30th 06 03:25 PM
Junk email and rules and alerts... annoyed Outlook - Installation 1 February 8th 06 07:56 PM
Email alerts for messages directly send to me. Outlook 2003 [email protected] Outlook - General Queries 1 January 31st 06 11:02 PM
Error Msg. - Project was not connected through SQL Server Database Heather Outlook - General Queries 1 January 27th 06 03:13 PM


All times are GMT +1. The time now is 05:34 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.