Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / General / Security / April 2005

Tip: Looking for answers? Try searching our database.

want addattachment automatically thought sql agent mail alert

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mohd Sufian - 23 Apr 2005 10:10 GMT
I want to add an attachement when my job fineshed and raise a alert mail.

Signature

waiting for solution
from
Sufian

Jens Süßmeyer - 23 Apr 2005 10:55 GMT
If you want to send some data of Sql server you can use the XP_Sendmail with
the @attachment and @query switch, if you want to add some common data, like
a status report hich is located somewhere on the disk you sure have to send
out an email with another program like xp_smtp_sendmail on
http://www.sqldev.net/xp/xpsmtp.htm. If you run on sql server 2005 you could
run a .Net program to send mails. Another choiche would be to use an third
party tool (freeware) to send out emails via smtp. My suggestions would be
here gbmail.exe which is a small program to run from commandline and could
be run as the last step of an job.

HTH, Jens Suessmeyer.

---
http://www.sqlserver2005.de
---

>I want to add an attachement when my job fineshed and raise a alert mail.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.