Jump to content

SMTP host is not specified exception!

- - - - -

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

#1
Diana86

Diana86

    Newbie

  • Members
  • PipPip
  • 12 posts
Hi .. im tryin to send an email using the system.net.mail class ... but it's givin me and exception saying that "SMTP host is not specified" .. wat does it mean and how can I solve it?????

#2
Xav

Xav

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 13,118 posts
You need to assign the name of the SMTP host to some property. And System.Net.Mail is a namespace, not a class.
Jordan said:

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