Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sending e-mails from vb

Status
Not open for further replies.

ghobbes98

Programmer
Joined
Feb 7, 2002
Messages
62
Location
IE
I want to send an e-mail from a vb application. Currently I am using the following code that was given to me

Set olapp = CreateObject("Outlook.Application")
Set oitem = olapp.CreateItem(0)
With oitem
.To = strRecipients
.body = strContent
.Send
End With
however I do not want to be restricted to having to using outlook I was wondering is it possible to specify a ip address of a mail server or something along those lines?
Any ideas would be greatly appreciated
Hobbes
 
There are several methods or controls that you can use. Search this site and you will find plenty of information.

See thread222-408262 to get you started. Thanks and Good Luck!

zemp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top