Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[ASP.NET] Help request

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Stylo
Grandmaster Cheater Supreme
Reputation: 3

Joined: 16 May 2007
Posts: 1073
Location: Israel

PostPosted: Sun Oct 19, 2008 1:39 am    Post subject: [ASP.NET] Help request Reply with quote

so.. as part of my project in high school i suppose to build a web site using ASP.NET language with Visual Studio 2003
so i designed a registration WebForm and i want it to send a mail to any1 who will sign into my web
i know how to send a mail through C# (through gmail)
Code:


                    string host = String.Empty;
                    host = "SMTP.gmail.com";
                    MailMessage Mail = new MailMessage();
                    Mail.To.Add(eMailToSend);
                    Mail.From = new MailAddress(eMailThatSent);
                    Mail.Subject = MsgSubject;
                    Mail.Body = BodyMsg;
                    SmtpClient SMTP = new SmtpClient(host);
                    SMTP.Credentials = new System.Net.NetworkCredential(MyUserName, MyPassword);
                    SMTP.Port = 587;
                    SMTP.Host = host;
                    SMTP.EnableSsl = true;
                    SMTP.Send(Mail);
                    SMTP = null;
                    Mail.Dispose();

the only thing is that i can't add System.Net.Mail into my project
and i guess it's because i'm using the 2003 version, cuz when i tried it on 2008 it did add it.
but the problem is that i can't use 2008 to build my project :\
any suggestions?

_________________
Stylo
Back to top
View user's profile Send private message
Fafaffy
Cheater
Reputation: 65

Joined: 12 Dec 2007
Posts: 28

PostPosted: Sun Oct 19, 2008 7:12 am    Post subject: Reply with quote

re-install 2008?
that could be something

_________________
Brillia wrote:
I FUCKING FUCK SEX
Back to top
View user's profile Send private message Send e-mail
Stylo
Grandmaster Cheater Supreme
Reputation: 3

Joined: 16 May 2007
Posts: 1073
Location: Israel

PostPosted: Sun Oct 19, 2008 8:08 am    Post subject: Reply with quote

i'm using 2003 Surprised
can't use 2008

_________________
Stylo
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 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
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites