----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: sndshreeman Message 5 in Discussion hi if you want the same other then smtp but in vb.net with outlook then you can try this as well :- set a reference to outlook 11.0 from the com tab:- Private oApp As Outlook.Application Private oNameSpace As Outlook._NameSpace Private oOutboxFolder As Outlook.MAPIFolder Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click oApp = New Outlook.Application Dim oMailItem As Outlook._MailItem = CType(oApp.CreateItem(Outlook.OlItemType.olMailItem), Outlook._MailItem) oMailItem.To = "[EMAIL PROTECTED]" oMailItem.Subject = "test mail" oMailItem.Body = "hi welcome" 'uncomment this to also save this in your draft 'oMailItem.Save() oMailItem.Send() End Sub ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/BDOTNET/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]
