Hello, We want to send mail throw vb.net [Windows application]. We got many code samples but all are depend upon the IIS or SMTP services. IS it possible to send the email on any windows machine without such dependencies? Please give some idea or some code sample. Thanks in advance for any suggetions Regards, Neera Sharma Palewar Techno Solutions (Mobile Solutions for Your Business) www.palewar.com
"neera" wrote in message news:9f150bd0-4967-4527-9fa6-9c6cc5a96a3d@w1g2000prk.googlegroups.com... > Hello, > > We want to send mail throw vb.net [Windows application]. We got many > code samples but all are depend upon the IIS or SMTP services. > IS it possible to send the email on any windows machine without such > dependencies? > Please give some idea or some code sample. > > Thanks in advance for any suggetions > > Regards, > Neera Sharma > > Palewar Techno Solutions > (Mobile Solutions for Your Business) > www.palewar.com Why reinvent the wheel? One way or another, you have to use software that will communicate with a mail server to which "you" (your app) have access. Your choice: use an available mail client through an interface or write the client.
neera wrote: > Hello, > > We want to send mail throw vb.net [Windows application]. We got many > code samples but all are depend upon the IIS or SMTP services. > IS it possible to send the email on any windows machine without such > dependencies? > Please give some idea or some code sample. A Google search for ".net smtp component" will give you plenty of options to choose from. Most seem to be standalone.
Hi, Thanks a lot for your suggestions.we will try with that. Regards, Neera Sharma Palewar Techno Solutions (Mobile Solutions for Your Business) www.palewar.com
Hi, Your best bet is to use System.Net.Mail.SmtpClient, which is built into the framework. You'll still have to specify a mail server, but that would be true of any implementation you choose. Kind regards, Alex "neera" wrote in message news:9f150bd0-4967-4527-9fa6-9c6cc5a96a3d@w1g2000prk.googlegroups.com... > Hello, > > We want to send mail throw vb.net [Windows application]. We got many > code samples but all are depend upon the IIS or SMTP services. > IS it possible to send the email on any windows machine without such > dependencies? > Please give some idea or some code sample. > > Thanks in advance for any suggetions > > Regards, > Neera Sharma > > Palewar Techno Solutions > (Mobile Solutions for Your Business) > www.palewar.com