Just nu i M3-nätverket
Jump to content

mail severname?


Recommended Posts

Imports System.Web.Mail


Dim m As New System.Web.Mail.MailMessage()


With m

.From = "me@my.place"

.To = "myself$my.house"

.Subject = "My SMTP Test"

.Body = "My New Message"

End With


SmtpMail.SmtpServer = "MyServerName"




kör denna kod...i SmtpMail.SmtpServer = "MyServerName"

kan man skriva in ipnr till maskinen..? jag har iis på en win2000 maskin. SMTP tjänsten snurrar på burken...

Jag får detta fel då....

An unhandled exception of type 'System.Web.HttpException' occurred in system.web.dll


Additional information: Could not access 'CDO.Message' object.






Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...