Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

SQL Mail/xp_sendmail

Posted on 1998-06-10
3
Medium Priority
?
290 Views
Last Modified: 2006-11-17
I need to get some details about how to use MS SQL Server to send a text file via e-mail. For instance:

1) how do I specify a mail server?
2) do I need to have SQL mail running?
3) are there any basic limitations?
4) etc.
0
Comment
Question by:flfmdll
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 4

Accepted Solution

by:
vvk earned 60 total points
ID: 1091467
In SQL Mail configuration you need to specify Windows Messaging profile where all necessary configuration values exist.
Of course you must start SQL mail before send or recieve mail.
You can specify Autostart in SQL Executive configuration or start manually by executing xp_startmail. What you means under basic limitations? For example if yu use Exchange server account under which SQL server service started must have permissios to access this mailbox

0
 
LVL 4

Expert Comment

by:vvk
ID: 1091468
If you need additonal specifications regarding this question you can drop ones here or send me directly to vvk@card.ru
0
 

Author Comment

by:flfmdll
ID: 1091469
Ok. I'll try this and what you sent in the e-mail. Thanks.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
Windocks is an independent port of Docker's open source to Windows.   This article introduces the use of SQL Server in containers, with integrated support of SQL Server database cloning.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question