all groups > sql server notification services > april 2006 >
You're in the

sql server notification services

group:

Mulitple device addresses for single delivery channel


Mulitple device addresses for single delivery channel Mana
4/12/2006 6:56:38 AM
sql server notification services:
Hi,

Is it possible to specify 2 device addresses for same delivery channel
in sql notification svcs 2005?

In my application I am using SMTP delivery protocol. User may want to
receive some notifications on gmail id and other notifications on yahoo
id. Is this possible using same delivery channel?

Mana
Re: Mulitple device addresses for single delivery channel Joe Webb
4/13/2006 12:00:00 AM
Hi Mana -

For the example you provided - gmail vs yahoo - I agree with Kate, 2
subscriptions for one subscriber would work.

For another somewhat similar scenario, such as some notifications
going to a subscriber's gmail account while others go to his cell
phone, different formatting is required for each device. For that
situation you can use the XSLT directory structure to format the
notification differently based on devicename.

For more information, check out:
ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/sqlntsv9/html/4be5579e-9e88-4693-a66e-e3dc6dfec375.htm

HTH...

--
Joe Webb
SQL Server MVP
http://www.sqlns.com


~~~
Get up to speed quickly with SQLNS
http://www.amazon.com/exec/obidos/tg/detail/-/0972688811

I support PASS, the Professional Association for SQL Server.
(www.sqlpass.org)


[quoted text, click to view]
Re: Mulitple device addresses for single delivery channel kate
4/13/2006 3:14:42 AM
basicly you need to generate two notifications for the 2 different
addresses for the smtp channel. so you need to allow users to create
one subscription for the yahoo stuff and another subscription for the
gmail

kate
Re: Mulitple device addresses for single delivery channel Mana
4/13/2006 5:08:00 AM
Hi,

I agree that the subscriber will have to create 2 different
subscriptions, one for gmail and one for yahoo.

But will the notifications be delivered through same delivery protocol
or I will need 2 protocols for 2 device addresses (yahoo id and gmail
id)

Mana

[quoted text, click to view]
Re: Mulitple device addresses for single delivery channel ramadu
4/17/2006 1:51:28 PM
if you have to just send the same information (i.e. content, formatting
etc.) to both the subscriptions, you can use the same protocol.


In your protocols node (if you are using SMTP protocol), you can specify
the To field as DeviceAddress. What you might have to do for your case
is to create different DeviceName values for each of the DeviceAddress
and create two subscriptions specifying the unique DeviceName. Then
Notification Services will pickup both the devices and the respective
DeviceAddress (yahoo & gmail ids).

- ramadu



:
[quoted text, click to view]
Re: Mulitple device addresses for single delivery channel Joe Webb
4/18/2006 9:52:14 AM
Sure.


--
Joe Webb
SQL Server MVP
http://www.sqlns.com


~~~
Get up to speed quickly with SQLNS
http://www.amazon.com/exec/obidos/tg/detail/-/0972688811

I support PASS, the Professional Association for SQL Server.
(www.sqlpass.org)

[quoted text, click to view]
AddThis Social Bookmark Button