How to send secure emails using sp_send_dbmail

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;







up vote
3
down vote

favorite












When using sp_send_dbmail to send an email on SQL Server, how do you specify that the email be sent in an encrypted format?



I found a thread discussing including the string "[SECURE]" in the subject line, but these comments are 8 years old and not backed up by any source.










share|improve this question









New contributor




ukemi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.















  • 4




    How do you define secure? How do you want to encrypt it? PGP? It looks like the thread you linked to refers to an exchange plugin where a keyword in a subject makes sure the email is rewritten and shown in a web app
    – Tom V
    3 hours ago











  • @TomV In (for example) Outlook, there is an option to encrypt (apparently using DES) an outgoing email before it is sent. Is there a way to trigger this functionality from the parameters passed to sp_send_dbmail?
    – ukemi
    2 hours ago







  • 1




    Maybe if you have the public key you can encrypt the body of the message yourself before sending it, I'm not sure which parts are encrypted and which are not by outlook. I have never done this though. As email from sp_send_dbmail is not sent through outlook I don't think you can piggy-back on the outlook functionality
    – Tom V
    2 hours ago
















up vote
3
down vote

favorite












When using sp_send_dbmail to send an email on SQL Server, how do you specify that the email be sent in an encrypted format?



I found a thread discussing including the string "[SECURE]" in the subject line, but these comments are 8 years old and not backed up by any source.










share|improve this question









New contributor




ukemi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.















  • 4




    How do you define secure? How do you want to encrypt it? PGP? It looks like the thread you linked to refers to an exchange plugin where a keyword in a subject makes sure the email is rewritten and shown in a web app
    – Tom V
    3 hours ago











  • @TomV In (for example) Outlook, there is an option to encrypt (apparently using DES) an outgoing email before it is sent. Is there a way to trigger this functionality from the parameters passed to sp_send_dbmail?
    – ukemi
    2 hours ago







  • 1




    Maybe if you have the public key you can encrypt the body of the message yourself before sending it, I'm not sure which parts are encrypted and which are not by outlook. I have never done this though. As email from sp_send_dbmail is not sent through outlook I don't think you can piggy-back on the outlook functionality
    – Tom V
    2 hours ago












up vote
3
down vote

favorite









up vote
3
down vote

favorite











When using sp_send_dbmail to send an email on SQL Server, how do you specify that the email be sent in an encrypted format?



I found a thread discussing including the string "[SECURE]" in the subject line, but these comments are 8 years old and not backed up by any source.










share|improve this question









New contributor




ukemi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











When using sp_send_dbmail to send an email on SQL Server, how do you specify that the email be sent in an encrypted format?



I found a thread discussing including the string "[SECURE]" in the subject line, but these comments are 8 years old and not backed up by any source.







sql-server sql-server-2012 security encryption database-mail






share|improve this question









New contributor




ukemi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




ukemi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 3 hours ago









Tom V

13.1k74373




13.1k74373






New contributor




ukemi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 4 hours ago









ukemi

1162




1162




New contributor




ukemi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





ukemi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






ukemi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







  • 4




    How do you define secure? How do you want to encrypt it? PGP? It looks like the thread you linked to refers to an exchange plugin where a keyword in a subject makes sure the email is rewritten and shown in a web app
    – Tom V
    3 hours ago











  • @TomV In (for example) Outlook, there is an option to encrypt (apparently using DES) an outgoing email before it is sent. Is there a way to trigger this functionality from the parameters passed to sp_send_dbmail?
    – ukemi
    2 hours ago







  • 1




    Maybe if you have the public key you can encrypt the body of the message yourself before sending it, I'm not sure which parts are encrypted and which are not by outlook. I have never done this though. As email from sp_send_dbmail is not sent through outlook I don't think you can piggy-back on the outlook functionality
    – Tom V
    2 hours ago












  • 4




    How do you define secure? How do you want to encrypt it? PGP? It looks like the thread you linked to refers to an exchange plugin where a keyword in a subject makes sure the email is rewritten and shown in a web app
    – Tom V
    3 hours ago











  • @TomV In (for example) Outlook, there is an option to encrypt (apparently using DES) an outgoing email before it is sent. Is there a way to trigger this functionality from the parameters passed to sp_send_dbmail?
    – ukemi
    2 hours ago







  • 1




    Maybe if you have the public key you can encrypt the body of the message yourself before sending it, I'm not sure which parts are encrypted and which are not by outlook. I have never done this though. As email from sp_send_dbmail is not sent through outlook I don't think you can piggy-back on the outlook functionality
    – Tom V
    2 hours ago







4




4




How do you define secure? How do you want to encrypt it? PGP? It looks like the thread you linked to refers to an exchange plugin where a keyword in a subject makes sure the email is rewritten and shown in a web app
– Tom V
3 hours ago





How do you define secure? How do you want to encrypt it? PGP? It looks like the thread you linked to refers to an exchange plugin where a keyword in a subject makes sure the email is rewritten and shown in a web app
– Tom V
3 hours ago













@TomV In (for example) Outlook, there is an option to encrypt (apparently using DES) an outgoing email before it is sent. Is there a way to trigger this functionality from the parameters passed to sp_send_dbmail?
– ukemi
2 hours ago





@TomV In (for example) Outlook, there is an option to encrypt (apparently using DES) an outgoing email before it is sent. Is there a way to trigger this functionality from the parameters passed to sp_send_dbmail?
– ukemi
2 hours ago





1




1




Maybe if you have the public key you can encrypt the body of the message yourself before sending it, I'm not sure which parts are encrypted and which are not by outlook. I have never done this though. As email from sp_send_dbmail is not sent through outlook I don't think you can piggy-back on the outlook functionality
– Tom V
2 hours ago




Maybe if you have the public key you can encrypt the body of the message yourself before sending it, I'm not sure which parts are encrypted and which are not by outlook. I have never done this though. As email from sp_send_dbmail is not sent through outlook I don't think you can piggy-back on the outlook functionality
– Tom V
2 hours ago










1 Answer
1






active

oldest

votes

















up vote
3
down vote













I don't think SQL Server has any built-in functionality to achieve what you're after.



One possible solution is to use a local SMTP server as a relay, so that the email is not encrypted on the initial hop (between SQL Server and the local SMTP server), but it gets encrypted leveraging the SMTP server's functionalities on the second hop (to the outbound SMTP server).






share|improve this answer




















    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "182"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: false,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );






    ukemi is a new contributor. Be nice, and check out our Code of Conduct.









     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdba.stackexchange.com%2fquestions%2f219061%2fhow-to-send-secure-emails-using-sp-send-dbmail%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    3
    down vote













    I don't think SQL Server has any built-in functionality to achieve what you're after.



    One possible solution is to use a local SMTP server as a relay, so that the email is not encrypted on the initial hop (between SQL Server and the local SMTP server), but it gets encrypted leveraging the SMTP server's functionalities on the second hop (to the outbound SMTP server).






    share|improve this answer
























      up vote
      3
      down vote













      I don't think SQL Server has any built-in functionality to achieve what you're after.



      One possible solution is to use a local SMTP server as a relay, so that the email is not encrypted on the initial hop (between SQL Server and the local SMTP server), but it gets encrypted leveraging the SMTP server's functionalities on the second hop (to the outbound SMTP server).






      share|improve this answer






















        up vote
        3
        down vote










        up vote
        3
        down vote









        I don't think SQL Server has any built-in functionality to achieve what you're after.



        One possible solution is to use a local SMTP server as a relay, so that the email is not encrypted on the initial hop (between SQL Server and the local SMTP server), but it gets encrypted leveraging the SMTP server's functionalities on the second hop (to the outbound SMTP server).






        share|improve this answer












        I don't think SQL Server has any built-in functionality to achieve what you're after.



        One possible solution is to use a local SMTP server as a relay, so that the email is not encrypted on the initial hop (between SQL Server and the local SMTP server), but it gets encrypted leveraging the SMTP server's functionalities on the second hop (to the outbound SMTP server).







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 2 hours ago









        spaghettidba

        9,6371835




        9,6371835




















            ukemi is a new contributor. Be nice, and check out our Code of Conduct.









             

            draft saved


            draft discarded


















            ukemi is a new contributor. Be nice, and check out our Code of Conduct.












            ukemi is a new contributor. Be nice, and check out our Code of Conduct.











            ukemi is a new contributor. Be nice, and check out our Code of Conduct.













             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdba.stackexchange.com%2fquestions%2f219061%2fhow-to-send-secure-emails-using-sp-send-dbmail%23new-answer', 'question_page');

            );

            Post as a guest













































































            Comments

            Popular posts from this blog

            What does second last employer means? [closed]

            List of Gilmore Girls characters

            One-line joke