Jump to content

VB2008 Sending Mail

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic

#1
travy92

travy92

    Learning Programmer

  • Members
  • PipPipPip
  • 76 posts
Hey everyone! I was wondering how i could send an email using VB?
Maybe:


Shell ("OutLook Express")

mailto:travis_liew@hotmail.com


or something along the lines of that?

Well if you have a code whether it's VB2008 or Vb6 or whatever just post it.
I may be able to convert it!

Thanks.
[SIGPIC]C:\Users\Travis\Desktop\Image Converter\Knight1.bmp[/SIGPIC]

#2
Xav

Xav

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 13,118 posts
In VB2008, there is a namespace called System.Net.Mail. Try looking around its members using IntelliSense to see what's available. You can create a client, messages etc.
Jordan said:

Good members, like yourself, stick around and post for ages to come!
Mr. Xav | Blog | Forums

#3
travy92

travy92

    Learning Programmer

  • Members
  • PipPipPip
  • 76 posts
:S I've looked through it and found some code i could use, but i have no idea how to use it :S. Any help? I'll also try looking through google tomorow :P
[SIGPIC]C:\Users\Travis\Desktop\Image Converter\Knight1.bmp[/SIGPIC]

#4
Xav

Xav

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 13,118 posts
Create a new client object. Take a look at the different options (eg ports, user name, address) and see if there's a Send() or SendMessage() or something like that inside the client object.
Jordan said:

Good members, like yourself, stick around and post for ages to come!
Mr. Xav | Blog | Forums