ParsX.com
پذیرش پروژه از دانشجویی ... تا سازمانی 09376225339
 
   ProfileProfile   Log in to check your private messagesLog in to check your private messages  |  FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups Log inLog in   RegisterRegister 

چگونه به وسیله ASP.NET به دیگران ایمیل (Email) بزنیم

 
Post new topic   Reply to topic    ParsX.com Forum Index -> Writers
View previous topic :: View next topic  
Author Message
arash
مدير بخش سي
مدير بخش سي


Joined: 27 Nov 2004
Posts: 1232
Location: www.parsx.com

PostPosted: Thu Oct 19, 2006 11:39 pm    Post subject: چگونه به وسیله ASP.NET به دیگران ایمیل (Email) بزنیم Reply with quote

برای اینکه بتوانیم با ASP.Net ایمیل بزنید می توانید از کد زیر استفاده کنید
SmtpMail.Send( _
  "parsx@yahoo.com", _
  "webmaster@parsx.com", _
  "Testing Mail!", _
  "Just sending a test message!" )

همانطور که می بینید اولین ورودی نام شخصی است که شما می خواهید به او ایمیل بزنید
دومین ورودی نام ایمیل خود شماست
چهارمین ورودی موضوع (Subject)
و پنجمین ورودی متن نامه شماست
Back to top
Display posts from previous:   
Post new topic   Reply to topic    ParsX.com Forum Index -> Writers All times are GMT + 3.5 Hours
Page 1 of 1

 
Jump to:  
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