<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: SQL Server Email Alerts Notifications</title>
	<atom:link href="http://www.sql-server-performance.com/2010/email-alerts-notification/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sql-server-performance.com/2010/email-alerts-notification/</link>
	<description>SQL Server Performance Tuning</description>
	<lastBuildDate>Fri, 17 May 2013 13:31:24 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Eben</title>
		<link>http://www.sql-server-performance.com/2010/email-alerts-notification/#comment-2095</link>
		<dc:creator>Eben</dc:creator>
		<pubDate>Thu, 26 Jul 2012 13:39:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.sql-server-performance.com/?=1901#comment-2095</guid>
		<description><![CDATA[Yes Satnam this is very useful, but if any of you have found out how to make this automated to receive an failure message directly when on failure it would be more useful. Should we have any scheduled jobs to kick that msdb exec sp step?
Eben]]></description>
		<content:encoded><![CDATA[<p>Yes Satnam this is very useful, but if any of you have found out how to make this automated to receive an failure message directly when on failure it would be more useful. Should we have any scheduled jobs to kick that msdb exec sp step?<br />
Eben</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ravi</title>
		<link>http://www.sql-server-performance.com/2010/email-alerts-notification/#comment-1975</link>
		<dc:creator>Ravi</dc:creator>
		<pubDate>Tue, 05 Jun 2012 12:19:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.sql-server-performance.com/?=1901#comment-1975</guid>
		<description><![CDATA[Hello Satnam Singh...
I have also the same question as Niranjan.
How can stored procedure(usp_send_replication_alerts) will send email automatically whenever replication fails??
right now I have created trigger on sysreplicationalerts and it worked fine for sending mail automatically for define jobs in  sql server agent. BUt when I deleted all jobs it didn&#039;t work.
create trigger send_mail
on sysreplicationalerts
after insert
as
begin
EXEC [msdb]..[sp_send_dbmail]
@profile_name = &#039;testProfile&#039;,
@recipients = &#039;it.ravi832@gmail.com; ravishankar_405@yahoo.com&#039;,
@subject = &#039;Error Message&#039;,
@body = &#039;HI ALL !!! HOW ARE YOU&#039;,
@body_format = &#039;HTML&#039;
end
And I couldn&#039;t fetch error message.
I have same requirements like your company but I am unable to implement it.
Can you explain your steps.
Thanks in advance..]]></description>
		<content:encoded><![CDATA[<p>Hello Satnam Singh&#8230;<br />
I have also the same question as Niranjan.<br />
How can stored procedure(usp_send_replication_alerts) will send email automatically whenever replication fails?? </p>
<p>right now I have created trigger on sysreplicationalerts and it worked fine for sending mail automatically for define jobs in  sql server agent. BUt when I deleted all jobs it didn&#8217;t work.</p>
<p>create trigger send_mail<br />
on sysreplicationalerts<br />
after insert<br />
as<br />
begin<br />
EXEC [msdb]..[sp_send_dbmail]<br />
@profile_name = &#8216;testProfile&#8217;,<br />
@recipients = &#8216;it.ravi832@gmail.com; <a href="mailto:ravishankar_405@yahoo.com">ravishankar_405@yahoo.com</a>&#8216;,<br />
@subject = &#8216;Error Message&#8217;,<br />
@body = &#8216;HI ALL !!! HOW ARE YOU&#8217;,<br />
@body_format = &#8216;HTML&#8217;<br />
end</p>
<p>And I couldn&#8217;t fetch error message. </p>
<p>I have same requirements like your company but I am unable to implement it.</p>
<p>Can you explain your steps.</p>
<p>Thanks in advance..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andrismg</title>
		<link>http://www.sql-server-performance.com/2010/email-alerts-notification/#comment-1532</link>
		<dc:creator>andrismg</dc:creator>
		<pubDate>Wed, 29 Feb 2012 18:30:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.sql-server-performance.com/?=1901#comment-1532</guid>
		<description><![CDATA[I would like run this in my environment any step show me error, please help that I need this!!]]></description>
		<content:encoded><![CDATA[<p>I would like run this in my environment any step show me error, please help that I need this!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Niranjan</title>
		<link>http://www.sql-server-performance.com/2010/email-alerts-notification/#comment-373</link>
		<dc:creator>Niranjan</dc:creator>
		<pubDate>Tue, 14 Jun 2011 21:26:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.sql-server-performance.com/?=1901#comment-373</guid>
		<description><![CDATA[Hi Satnam singh,
grt work Awesome article
I followed your article but i have one question . how can stored procedure usp_send_replication_alerts can send email automatically whenever replication fails ?
Right now i can send email when i execute your stored procedure manually like
EXEC [msdb].[dbo].[usp_send_replication_alerts]
Any help is appreciated
Thanks
Niranjan]]></description>
		<content:encoded><![CDATA[<p>Hi Satnam singh,</p>
<p>grt work Awesome article<br />
I followed your article but i have one question . how can stored procedure usp_send_replication_alerts can send email automatically whenever replication fails ?</p>
<p>Right now i can send email when i execute your stored procedure manually like</p>
<p>EXEC [msdb].[dbo].[usp_send_replication_alerts]</p>
<p>Any help is appreciated</p>
<p>Thanks<br />
Niranjan</p>
]]></content:encoded>
	</item>
</channel>
</rss>
