SQL mails in outlook template oft

  • Hi,

    Is there any way to send emails from SQL Server using Outlook templates (oft)?

    Thanks in advance.

  • Any ideas please?

  • Your best bet is making an application or SSIS package to do this. Then use xp_cmdshell or SQL agent to call on that application or package.

  • I don't think that will not work. Outlook.exe accepts no exposed command line arguments, so you could not automate it like that, i think.

    what's wrong with opening a new email based on the template, then changing it to html and view the source?

    then you can use that as the source basic format of the email and substitute in your content.

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply