Groups | Blog | Home
all groups > sql server notification services > march 2007 >

sql server notification services : SMTP Headers


Andy
3/27/2007 1:53:03 PM
[quoted text, click to view]

I don't believe you can do that with the built in provider, but
building your own delivery protocol is very simple, and you should be
able to use the built in System.Net.Mail namespace classes to set the
headers.

andy
Ken
3/27/2007 2:14:59 PM
Does anyone know if the NS built-in SMTP Protocol supports custom SMTP
headers, and if not, are there any 3rd party components out there that do?

Ken
3/27/2007 5:12:12 PM
Thanks for the reply, I suspected as much but was hoping to not have to roll
my own class just to have custom headers. It's not a big deal, just seems
like an obvious omission from the built-in provider.

[quoted text, click to view]

Joe Webb
3/28/2007 6:02:39 AM
[quoted text, click to view]


Andy is right. The build-in SMTP delivery protocol doesn't support custom
SMTP headers, but creating a custom delivery protocol to do it wouldn't be
a difficult chore.

HTH...

Joe


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



AddThis Social Bookmark Button