If there is an internet connection, just look up the email addresses MX record, and use that as the SMTP server, and use the framework objects. That way, you don't need to reinvent the wheel. All you need to do is write some simple DNS code (which may be done already, I haven't looked).
Erick > -----Original Message----- > From: Unmoderated discussion of advanced .NET topics. > [mailto:[EMAIL PROTECTED] On Behalf Of Jones, Jason > Sent: Tuesday, October 19, 2004 12:43 PM > To: [EMAIL PROTECTED] > Subject: Re: [ADVANCED-DOTNET] Email server > > At some point you have to connect to the -remote- SMTP server > to send the mail to its destination. That's the real issue here. > > If you can get that connectivity, you can either user sockets > (might be non-trivial depending on how much functionality you > need) or use one of the previous suggetions (might be a > superset of what you need). > > > ________________________________ > > From: Unmoderated discussion of advanced .NET topics. on > behalf of Shawn Brown > Sent: Tue 10/19/2004 3:20 PM > To: [EMAIL PROTECTED] > Subject: Re: [ADVANCED-DOTNET] Email server > > > > It is in a DMZ. I would like the app to act as an SMTP server > on it own, so I wouldn't have to connect to ours. I am not > looking to be able to receive messages, just send, so I don't > need it to act as a full email server, just to be able to send emails. > > BTW, thanks to everyone that has offered help to this point... > > Shawn > > > -----Original Message----- > > From: Jekke Bladt [SMTP:[EMAIL PROTECTED] > > Sent: Tuesday, October 19, 2004 2:11 PM > > To: [EMAIL PROTECTED] > > Subject: Re: [ADVANCED-DOTNET] Email server > > > > You can *generate* the mail entirely on a disconnected > machine. But, > > you either need to act as an SMTP server or connect to one > in order to > > send it. > > > > I'm presuming you mean some kind of DMZ outside of the > network, but on > > the Internet. If the machine isn't on the network or the Internet, > > you're pretty much going to have to print the mail out and stick a > > stamp on it. > > > > --Jekke > > > > -----Original Message----- > > From: Unmoderated discussion of advanced .NET topics. > > [mailto:[EMAIL PROTECTED] On Behalf Of > Shawn Brown > > Sent: Tuesday, October 19, 2004 3: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(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(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