Joined: 27 Nov 2004 Posts: 1232 Location: www.parsx.com
Posted: Thu Oct 19, 2006 11:39 pm Post subject: چگونه به وسیله ASP.NET به دیگران ایمیل (Email) بزنیم
برای اینکه بتوانیم با ASP.Net ایمیل بزنید می توانید از کد زیر استفاده کنید
SmtpMail.Send( _
"parsx@yahoo.com", _
"webmaster@parsx.com", _
"Testing Mail!", _
"Just sending a test message!" )
همانطور که می بینید اولین ورودی نام شخصی است که شما می خواهید به او ایمیل بزنید
دومین ورودی نام ایمیل خود شماست
چهارمین ورودی موضوع (Subject)
و پنجمین ورودی متن نامه شماست
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum