Inserting bold text in emails

  • I am using XP__SMTP_SENDMAIL to send emails to our main frame based email system.

    I am wondering whether it is possible to embed bold text within the @Subject and if so how I would need to construct the string in SQL Server T-SQL.

    Our email system can handle bold text, I can for example paste in bold text from Word or use the formatting on the toolbar.

    I don't really want to send the text as an attachment (html).

  • in @subject ???

    i'm not sure about anyone else, but i've never seen an email client that has formatting in the subject header - only in the body text.

    MVDBA

  • There is no guarantee in the subject, no. You can try and specify the <b> </b> tags but this isn't guaranteed to work for all email clients. The RFC for SMTP doesn't specify anything of this sort. The only reason the HTML in the body works is because there are provisions to add attachments and most email clients handle an attachment of the appropriate type as the body.

    K. Brian Kelley
    @kbriankelley

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

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