Click here to Skip to main content
16,006,768 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: VB.Net & Windows98 Compatiblity Problem Pin
Zaegra29-Oct-06 1:04
Zaegra29-Oct-06 1:04 
AnswerRe: VB.Net & Windows98 Compatiblity Problem Pin
Dave Kreskowiak29-Oct-06 16:43
mveDave Kreskowiak29-Oct-06 16:43 
QuestionCopying structures to string buffer and back Pin
fromtheotherbay28-Oct-06 18:44
fromtheotherbay28-Oct-06 18:44 
AnswerRe: Copying structures to string buffer and back Pin
Reuven Elliassi29-Oct-06 9:46
Reuven Elliassi29-Oct-06 9:46 
QuestionHow to send mail and Fax from Windos Application in .net 2003 Pin
balamurugan8228-Oct-06 16:06
balamurugan8228-Oct-06 16:06 
AnswerRe: How to send mail and Fax from Windos Application in .net 2003 Pin
UltraCoder28-Oct-06 17:11
UltraCoder28-Oct-06 17:11 
GeneralRe: How to send mail and Fax from Windos Application in .net 2003 Pin
Dave Kreskowiak29-Oct-06 16:32
mveDave Kreskowiak29-Oct-06 16:32 
AnswerRe: How to send mail and Fax from Windos Application in .net 2003 Pin
Dave Kreskowiak29-Oct-06 16:41
mveDave Kreskowiak29-Oct-06 16:41 
First, just saying "Urgent" in a forum will likely just get your post ignored.

Your subject line needs to mention just a little something about the topic, then put the question in the body of the post. Not just "Urgent". No one cares how urgent your need is in a forum environment. If it was that urgent, you'd be doing your own research until the wee hours of the morning, wouldn't you? Since we don't get paid for working on your project, we're sure not going to stay up researching your problem for you!


Now, Ultra was only partiallt correct. You do need an SMTP server to send emails. It does NOT need to be installed on your machine. You just need access to a server that can send the mail for you.

Once you have access to a server, all you need is something liek this:
Imports System.Web.Mail
.
.
.
    Dim MyMail As MailMessage = New MailMessage()
    MyMail.From = "whoeveryouare@whereeveryouare.com"
    MyMail.To = "someone@somewhere.com"
    MyMail.Subject = "Subject"
    MyMail.Body = "Message body text"
    SmtpMail.MailServer = "mail.someserver.com"
    SmtpMail.Send(MyMail)


SmtpMail.Send(

Dave Kreskowiak
Microsoft MVP - Visual Basic


QuestionWMI in VB.net Pin
andyr200528-Oct-06 15:46
andyr200528-Oct-06 15:46 
AnswerRe: WMI in VB.net Pin
UltraCoder28-Oct-06 17:14
UltraCoder28-Oct-06 17:14 
QuestionSimple simulator Pin
moize1228-Oct-06 15:06
moize1228-Oct-06 15:06 
AnswerRe: Simple simulator Pin
UltraCoder28-Oct-06 17:08
UltraCoder28-Oct-06 17:08 
AnswerRe: Simple simulator Pin
Zaegra29-Oct-06 1:14
Zaegra29-Oct-06 1:14 
QuestionReversing a registry change? Pin
Code Crapper28-Oct-06 12:25
Code Crapper28-Oct-06 12:25 
AnswerRe: Reversing a registry change? Pin
Christian Graus28-Oct-06 13:36
protectorChristian Graus28-Oct-06 13:36 
GeneralRe: Reversing a registry change? Pin
Code Crapper28-Oct-06 13:42
Code Crapper28-Oct-06 13:42 
GeneralRe: Reversing a registry change? Pin
Christian Graus28-Oct-06 13:50
protectorChristian Graus28-Oct-06 13:50 
GeneralRe: Reversing a registry change? Pin
Code Crapper28-Oct-06 14:02
Code Crapper28-Oct-06 14:02 
GeneralRe: Reversing a registry change? Pin
Christian Graus28-Oct-06 14:07
protectorChristian Graus28-Oct-06 14:07 
GeneralRe: Reversing a registry change? Pin
Code Crapper28-Oct-06 14:15
Code Crapper28-Oct-06 14:15 
GeneralRe: Reversing a registry change? Pin
Christian Graus28-Oct-06 15:09
protectorChristian Graus28-Oct-06 15:09 
GeneralRe: Reversing a registry change? Pin
Code Crapper28-Oct-06 15:15
Code Crapper28-Oct-06 15:15 
GeneralRe: Reversing a registry change? Pin
Christian Graus28-Oct-06 17:08
protectorChristian Graus28-Oct-06 17:08 
QuestionAuthenticate through SMTP Server Pin
BBMB3228-Oct-06 10:52
BBMB3228-Oct-06 10:52 
QuestionMake a form refresh itself Pin
Code Crapper28-Oct-06 10:09
Code Crapper28-Oct-06 10:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.