Stored Procedures [dbo].[AttachPdfGenerationHtmlToOutgoingEmail]
Properties
PropertyValue
ANSI Nulls OnYes
Quoted Identifier OnYes
Parameters
NameData TypeMax Length (Bytes)
@inOutgoingEmailIdint4
@inPdfHtmlContentnvarchar(max)max
Permissions
TypeActionOwning Principal
GrantExecuteMssExec
SQL Script
CREATE PROCEDURE [dbo].[AttachPdfGenerationHtmlToOutgoingEmail]
    @inOutgoingEmailId int = 0,
    @inPdfHtmlContent nvarchar(max)
as
begin
    set nocount on
    insert into OutgoingEmailPdfInput
    (
        OutgoingEmailFid,
        PdfHtmlContent
    )
    select
        @inOutgoingEmailId,
        @inPdfHtmlContent

end
GO
GRANT EXECUTE ON  [dbo].[AttachPdfGenerationHtmlToOutgoingEmail] TO [MssExec]
GO
Uses