i want to mail welcome message when a user register in my web site. i use the below code but it does'nt work. it's give me this error : (The"SendUsing" configuration value is invalid.) public static void Send(string mail,string sname,string sfamily) { MailMessage mailMsg = new MailMessage(); mailMsg .From = "info@mashhad915.com"; mailMsg .To =mail; mailMsg .Subject = "Welcome!"; mailMsg .Body ="welcome"; mailMsg.Bcc="info@mashhad915.com"; mailMsg.Cc="info@mashhad915.com"; SmtpMail.SmtpServer.Insert(0,"127.0.0.1"); SmtpMail.Send(mailMsg ); } please help me? it's very important for me.
A
ahmadnaghsh
@ahmadnaghsh
Posts
-
Send mail in c# code(asp.net 1.1)? -
my xml file915a.swf http://www.mashhad915.com mobile A Technology This is the caption for Ad#1 mahak.swf http://www.mashhad915.com mobile A Technology This is the caption for Ad#1
-
show confirm box in asp.net+c# with click on linkI want to delete a record from database with link in web.when the link was clicked display a yes/no question for delete. Any info would be much appreciated,
-
Adrotator and flash banner?Does anyone know if the asp.net adrotator control supports flash banners. If so, how does the XML file look with a flash banner in it. I am trying to get a .swf flash file to work with the adrotator and it doesn't seem to be displaying. I just not sure what needs to done. Any info would be much appreciated,