C# .NET - Send mail by shellexecutea( '"mailto:" )

Asked By rajesh kumar on 21-Aug-04 10:00 AM
My problem is i want to attach a Xls file with the mail and other is i want to insert new line character in the mail message using c#. I have tried all the metods like \n\r environment etc but all failed. So please help me to overcome this difficulty. New line is more important to fix.

Then Don't use shellexecute -- - Asked By Dexter Dotnetsky on 21-Aug-04 11:39 AM

do it from within your program via System.Web.Mail where you have accesss to the MailMessage class and all its properties and methods.