adude Posted October 26, 2003 Posted October 26, 2003 Hi. I'm currently using Visual Studio .NET 2003 on Windows XP Home Edition. I've read several threads on "Email" in the forums but still have some questions... In this thread http://www.xtremedotnettalk.com/showthread.php?s=&threadid=73249&highlight=email, user "begin_with_A" said (as far as I understand) that to use the System.Web.Mail (since right now I don't have that option in VStudio), you would need to go the XP Add/Remove Windows Components and "activate SMTP." However, I don't seem to have anything that directly says "SMTP." I'm using Windows XP Home Edition... is this another one of those "Professional-Only Things"? And which has to have SMTP activated: 1. "Programming" Computer 2. Sending Computer 3. Receiving Computer If it is a professional thing, is the only other route to use an Outlook reference? Thanks. Quote
bungpeng Posted October 26, 2003 Posted October 26, 2003 You are right! the SMTP is "Professional-Only Thing". You can ignore this SMTP if you have a mail server to link, like in your reference thread above, that guy try to use 'mx4.hotmail.com', as long as your application can connect to that mail server (Internet). You only need to setup SMTP if you do not have mail server. SMTP nothing to do with Programmer, Sender or Receiving computer, because I can put it on another independent computer. Normal your web server is in programmer computer, so you need to point to this SMTP server from your web server (your application) Outlook is just a client email software, it can't help you to send a email. You also need to set a mail server (ie. pop.xxx.com) in Outlook before you can send email using MS Outlook, right? Quote
adude Posted October 26, 2003 Author Posted October 26, 2003 Thanks for the clarification... but how come I don't have the System.Web.Mail namespace (when I try Imports System.Web.Mail and when I do New System.Web.Mail.Message) - I only have 3 things under System.Web that all start with "ASPNet" & something else - I don't have Mail. Is there other code I have to use if I'm just connecting to, for example, mx4.hotmail.com? Is it a reference or component of some sort? Thanks again. Quote
*Experts* mutant Posted October 26, 2003 *Experts* Posted October 26, 2003 Add a reference to the System.Web assembly and you will get access to the Mail classes. :) Quote
adude Posted October 26, 2003 Author Posted October 26, 2003 Thanks - it was right there! I guess I kept missing it cause it's a .NET Reference... :rolleyes: Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.