@attachments - xp_sendmail

13/12/2007 - 14:48 por Niato | Informe spam
@Hola a todos..

Quisiera saber si el parametro @attachments del xp_sendmail para enviar
correos electronicos contiene la ruta del archivo a adjuntar o que es lo que
recibe..

USP_XP_SENDMAIL 'correo@dominio.com', 'Este es un
mensaje','','F:\Ruta\Archivo.html','','','Este es un asunto'

Saludos..
 

Leer las respuestas

#1 Gux (MVP)
13/12/2007 - 16:29 | Informe spam
Extraido de los Books Online (BOL):

[ @attachments=] 'attachments [ ;... n] '
Is a semicolon-separated list of files to attach to the mail message. If you
use the @query parameter when @attach_results is TRUE, the @attachments
parameter can specify only one file to attach to the mail message. In this
case, to send more than one file, you must run xp_sendmail separately for
each attached file.


Gustavo Larriera, Microsoft MVP
https://mvp.support.microsoft.com/profile/gux
Este mensaje se proporciona tal como es, sin garantías de ninguna clase.



"Niato" wrote:

@Hola a todos..

Quisiera saber si el parametro @attachments del xp_sendmail para enviar
correos electronicos contiene la ruta del archivo a adjuntar o que es lo que
recibe..

USP_XP_SENDMAIL '', 'Este es un
mensaje','','F:\Ruta\Archivo.html','','','Este es un asunto'

Saludos..

Preguntas similares