Click here to Skip to main content
15,886,199 members
Articles / Programming Languages / C#

Creating In-Memory Mail Attachments

Rate me:
Please Sign up or sign in to vote.
4.02/5 (20 votes)
24 Nov 2007CPOL2 min read 119.9K   1.9K   44  
This article shows how to create mail attachments during runtime without creating files on the file system.

Microsoft Visual Studio Solution File, Format Version 9.00
# Visual Studio 2005
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "InMemoryMailAttachmentSender", "InMemoryMailAttachmentSender.csproj", "{F3C08324-44CB-4D09-AC76-FD907BF23D91}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{F3C08324-44CB-4D09-AC76-FD907BF23D91}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{F3C08324-44CB-4D09-AC76-FD907BF23D91}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{F3C08324-44CB-4D09-AC76-FD907BF23D91}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{F3C08324-44CB-4D09-AC76-FD907BF23D91}.Release|Any CPU.Build.0 = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Team Leader
Germany Germany
Sven worked as Software Developer, System Architect, Project Manager and Team Leader. He is working for more than 15 years in the software industry.

http://www.svengrand.blogspot.com/

Comments and Discussions