Click here to Skip to main content
13,150,385 members (29,575 online)
Click here to Skip to main content

Stats

176.4K views
2.9K downloads
73 bookmarked
Posted 11 Jan 2009

Adding Save() functionality to System.Net.Mail.MailMessage

, 19 Nov 2014
Using a combination of Reflector, Reflection, and C# 3.0 extension methods to add Save(string FileName) functionality to MailMessage in System.Net.Mail.

Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MailMessageExtension", "MailMessageExtension\MailMessageExtension.csproj", "{3FD6C7A8-D3E3-4C65-8D6B-8BF58BEFD9B8}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{3FD6C7A8-D3E3-4C65-8D6B-8BF58BEFD9B8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{3FD6C7A8-D3E3-4C65-8D6B-8BF58BEFD9B8}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{3FD6C7A8-D3E3-4C65-8D6B-8BF58BEFD9B8}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{3FD6C7A8-D3E3-4C65-8D6B-8BF58BEFD9B8}.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)

Share

About the Author

Allan Eagle
Software Developer Globe Business Publishing Ltd
United Kingdom United Kingdom
Started tinkering on an old BBC Microcomputer using BBC BASIC and progressed up to dabbling with C and ARMCode on an Acorn RiscPC. Moving to the PC platform I progressed from C++ to now a lot of C# and ASP.NET.

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170924.2 | Last Updated 19 Nov 2014
Article Copyright 2009 by Allan Eagle
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid