ASP.NET School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become a ASP.NET Expert!

Join 300,412 ASP.NET Programmers for FREE! Get instant access to thousands of ASP.NET experts, tutorials, code snippets, and more! There are 1,585 people online right now. Registration is fast and FREE... Join Now!




sending email on vs

 

sending email on vs

Fusion.01

1 Jul, 2009 - 08:01 PM
Post #1

New D.I.C Head
*

Joined: 17 Jan, 2009
Posts: 37

i'm trying to send a email to thank someone for the feedback that they give.
CODE

        Dim objMM As New MailMessage()
        objMM.To = "****@*****.com"
        objMM.From = TxtEmail.Text
        objMM.Bcc = "****@*****.com"
        objMM.BodyFormat = MailFormat.Text
        objMM.Subject = "Thank you for giving MAX your feedback!"
        objMM.Body = "Dear " + txtName.Text + " thanks for giving MAX your feedback"


but there is obsolence thingy which i'm not sure of how to carry on..some help thanks..btw what should i do to link the email sent via my own email?

User is offlineProfile CardPM
+Quote Post


CamoDeveloper

RE: Sending Email On Vs

1 Jul, 2009 - 08:12 PM
Post #2

D.I.C Head
Group Icon

Joined: 12 Jun, 2009
Posts: 204



Thanked: 12 times
Dream Kudos: 200
My Contributions
You have to declare an SMTP object, then do oSMTP.Send(objMM). You should also have it send to an email they enter, not hard code it since it will change everytime.

~Camo

This post has been edited by CamoDeveloper: 1 Jul, 2009 - 08:13 PM
User is offlineProfile CardPM
+Quote Post

Fusion.01

RE: Sending Email On Vs

6 Jul, 2009 - 04:10 AM
Post #3

New D.I.C Head
*

Joined: 17 Jan, 2009
Posts: 37

i still can't get it,could you give me a start?
User is offlineProfile CardPM
+Quote Post

PsychoCoder

RE: Sending Email On Vs

6 Jul, 2009 - 06:44 AM
Post #4

Dyslexics Untie!
Group Icon

Joined: 26 Jul, 2007
Posts: 14,714



Thanked: 501 times
Dream Kudos: 11450
Expert In: VB, VB.Net, C#, SQL, ASP, ASP.Net, Web Development, HTML, CSS, Win32 API, Javascript, mySQL, J#, Boo.Net, jQuery

My Contributions
Take a look at this article smile.gif
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/7/09 11:10PM

Live ASP.NET Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

ASP.NET Tutorials

Reference Sheets

ASP.NET Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month