|
Отправка сообщенй по e-mail c помощью SQL-mail
|
|||
---|---|---|---|
#18+
Как я могу отправить письмо по электронной почте с помощью Transact SQL? В Books Online нашел только одну строчку : "Send e-mail from Transact-SQL batches, scripts, stored procedures, and triggers using xp_send_mail." Причем как ее использовать не написано. Более того, когда я попытался ее запустить без параметров в надежде, что она скажет какие параметры надо использовать, оно мне ваще сказало, что не можнт найти такой хранимой процедуры ( SQl-mail запущен. Чего делать? ... |
|||
:
Нравится:
Не нравится:
|
|||
03.11.2000, 08:58 |
|
Отправка сообщенй по e-mail c помощью SQL-mail
|
|||
---|---|---|---|
#18+
Лучше, всеж таки пользовать xp_sendmail Не знаю, что у тебя за Books Online, вот выдержка из моих: xp_sendmail (T-SQL) Sends a message and a query result set attachment to the specified recipients. Syntax xp_sendmail {[@recipients =] 'recipients [;...n]'} [,[@message =] 'message'] [,[@query =] 'query'] [,[@attachments =] attachments] [,[@copy_recipients =] 'copy_recipients [;...n]' [,[@blind_copy_recipients =] 'blind_copy_recipients [;...n]' [,[@subject =] 'subject'] [,[@type =] 'type'] [,[@attach_results =] 'attach_value'] [,[@no_output =] 'output_value'] [,[@no_header =] 'header_value'] [,[@width =] width] [,[@separator =] 'separator'] [,[@echo_error =] 'echo_value'] [,[@set_user =] 'user'] [,[@dbuse =] 'database'] и так далее ... |
|||
:
Нравится:
Не нравится:
|
|||
03.11.2000, 09:35 |
|
|
start [/forum/topic.php?fid=46&msg=32000642&tid=1827636]: |
0ms |
get settings: |
9ms |
get forum list: |
13ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
174ms |
get topic data: |
10ms |
get forum data: |
3ms |
get page messages: |
48ms |
get tp. blocked users: |
2ms |
others: | 12ms |
total: | 279ms |
0 / 0 |