Monday, March 19, 2012

Email Notification with Custom Attachments using Notification Services 2005

Hi All,

I am using Notification Services 2005.I have done with the configuration and deployment of Notification Services 2005.Now i wanted to know how to send notifications via email with custom attachments.

Please help me out in this issue.

Amby

Hi Amby -

[copied for a reply to your newsgroup posting]

The built-in SMTP delivery protocol doesn't support attachments. But
you do have a couple of options:

1) you can build a custom delivery protocol that uses SMTP to send
notifications with attachments. I don't have Shyam Pather's SQLNS book
in front of me at the moment, but I think he goes through a similar
example in it. It's for v2.0, not 2005, but the same concepts should
apply.

2) I've also sent notifications via SMTP that have a link to a
resource that they need rather than including it as an attachment. For
example, rather than attaching a PDF, I place the PDF on a web site
and then send a link to the PDF in the notification. This has worked
well for me.

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)

No comments:

Post a Comment