You will still need to somehow connect to the server to actually send the email.
Check out the System.Web.Mail namespace, it has SMTP code that makes sending email fairly trivial. -----Original Message----- From: Unmoderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Shawn Brown Sent: Tuesday, October 19, 2004 2:07 PM To: [EMAIL PROTECTED] Subject: Re: [ADVANCED-DOTNET] Email server Some of the servers this app would be setting on do not have access to our SMTP server. They are disconnected from our internal network. That is why I would like to be able to generate the email completely within the app. Shawn. > -----Original Message----- > From: Curt Hagenlocher [SMTP:[EMAIL PROTECTED] > Sent: Tuesday, October 19, 2004 1:47 PM > To: [EMAIL PROTECTED] > Subject: Re: [ADVANCED-DOTNET] Email server > > From: "Shawn Brown" <[EMAIL PROTECTED]> > > > We would like to implement email functionality into a few of our > > programs, > > but I would like to do this without using MAPI, or having to connect > > to an > > SMTP server. > > Well, assuming that you want to interoperate with standard email, you > will pretty much have to do it through either SMTP or MAPI. Mail > servers generally use SMTP to communicate with other mail servers. > You can either do the work yourself of looking up an MX record for the > mail address, finding the correct server(s), connecting to them and > sending the message, or you can simply connect to a known local server > and let it do the work. But either way, you'd be using SMTP. > > -- > Curt Hagenlocher > [EMAIL PROTECTED] > > =================================== > This list is hosted by DevelopMentor(r) http://www.develop.com > Some .NET courses you may be interested in: > > Essential .NET: building applications and components with CSharp > August 30 - September 3, in Los Angeles > http://www.develop.com/courses/edotnet > > View archives and manage your subscription(s) at > http://discuss.develop.com =================================== This list is hosted by DevelopMentor(r) http://www.develop.com Some .NET courses you may be interested in: Essential .NET: building applications and components with CSharp August 30 - September 3, in Los Angeles http://www.develop.com/courses/edotnet View archives and manage your subscription(s) at http://discuss.develop.com =================================== This list is hosted by DevelopMentorŪ http://www.develop.com Some .NET courses you may be interested in: Essential .NET: building applications and components with CSharp August 30 - September 3, in Los Angeles http://www.develop.com/courses/edotnet View archives and manage your subscription(s) at http://discuss.develop.com