Sep 10, 2003 #1 kurgan383 IS-IT--Management Jan 7, 2003 17 US is there a way to make a smtp server to send e-mail?
Sep 10, 2003 #2 woyler Programmer Jun 20, 2001 678 US Imports System.Web Dim mmMessage As New Mail.MailMessage() Dim smtpMailServer As Mail.SmtpMail mmMessage.To = "Recipient@somewhere" mmMessage.From = "Sender" mmMessage.Subject = "Subject" mmMessage.Body = "YourMessage" smtpMailServer.SmtpServer = "SMTPServer" smtpMailServer.Send(mmMessage) mmMessage = Nothing smtpMailServer = Nothing Upvote 0 Downvote
Imports System.Web Dim mmMessage As New Mail.MailMessage() Dim smtpMailServer As Mail.SmtpMail mmMessage.To = "Recipient@somewhere" mmMessage.From = "Sender" mmMessage.Subject = "Subject" mmMessage.Body = "YourMessage" smtpMailServer.SmtpServer = "SMTPServer" smtpMailServer.Send(mmMessage) mmMessage = Nothing smtpMailServer = Nothing
Sep 10, 2003 #3 stravis Programmer Jun 28, 2003 420 US If you are looking to connect to a SMTP server that does not require authentication, use the code above. If you would like to create your own SMTP server then checkout this link http://www.codeproject.com/csharp/smtppop3mailserver.asp?target=email|server Upvote 0 Downvote
If you are looking to connect to a SMTP server that does not require authentication, use the code above. If you would like to create your own SMTP server then checkout this link http://www.codeproject.com/csharp/smtppop3mailserver.asp?target=email|server