• 0
Sign in to follow this  
fantasma

Enviar email

Question

Como faço para a cada 2 horas disparar um email com anexo ?? tem como ??

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Bom dia fantasma,

você pode criar uma procedure que faça isto. Poderá agendar a execução para cada 2 horas disparar. Utilize a funcionalidade xp_sendmail para enviar os emails.

Link:

http://msdn.microsoft.com/pt-br/library/ms189505.aspx

OBS.: algumas configurações devem ser realizadas para que o sql possa utilizar a funcionalidade.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this