Source Code to Send PDF As an E-mail Attachment
Sample code demonstrates how to export TX Text Control document content as a PDF file and send it as an email attachment. The downloadable source provides a complete working example of combining the PDF export filter with programmatic email delivery in a single application.

Sample code to illustrate how easy it is to sent the contents of a TX Text Control via e-mail as a PDF attachment.
Related Posts
Exporting Password Protected PDF Documents
The SaveSettings class in TX Text Control exports password-protected PDF documents with separate UserPassword and MasterPassword values. DocumentAccessPermissions controls granular access rights…
AI TokensASP.NET CoreDocument Conversion
Stop Burning Tokens to Convert your Documents
This article covers converting your source documents to Markdown on the way in and rendering the Markdown into a polished PDF on the way out. TX Text Control handles both conversions directly in…
AI Natural Language Document Generation with MCP and TX Text Control .NET
This article explains how AI agents can use natural language to create documents through an MCP server. Instead of letting a language model generate documents directly, the AI translates prompts…
C# Document Generation: A Developer's Guide for .NET
Document generation refers to the automatic creation of documents from application data. The success or complexity of a document generation workflow often depends on a single early architectural…
ASP.NETAccessibilityASP.NET Core
Validating PDF/UA Documents in .NET C#: A Practical Guide
This article explains how to validate PDF/UA documents in .NET C# using the TXTextControl.PDF.Validation NuGet package. It shows how to inspect validation status, generate JSON reports, handle…
