Hi,
I get an error using the dll with Framework 1.0:
vb-code:
Dim conf As OpenSmtp.Mail.SmtpConfig
conf.SmtpHost = "mail.myserver.com"
conf.SmtpPort = 25
Dim Message As New OpenSmtp.Mail.MailMessage("sender@test.com", "recipient@test.com")
Message.Subject = "Test"
Message.Body = "This is a test"
Dim SMTP As New OpenSmtp.Mail.Smtp()
Try
SMTP.SendMail(Message)
Catch err As OpenSmtp.Mail.SmtpException
MsgBox(err.Message)
End Try
the error is:
'System.IO.FileNotFoundException' occurred in opensmtp.dll
Assemblyname 'System' or one of its dependencies not found
I then tried to run it on a system with framework 1.1
there, it works ok
Does opensmtp.dll depend only on Framework 1.1?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I get an error using the dll with Framework 1.0:
vb-code:
Dim conf As OpenSmtp.Mail.SmtpConfig
conf.SmtpHost = "mail.myserver.com"
conf.SmtpPort = 25
Dim Message As New OpenSmtp.Mail.MailMessage("sender@test.com", "recipient@test.com")
Message.Subject = "Test"
Message.Body = "This is a test"
Dim SMTP As New OpenSmtp.Mail.Smtp()
Try
SMTP.SendMail(Message)
Catch err As OpenSmtp.Mail.SmtpException
MsgBox(err.Message)
End Try
the error is:
'System.IO.FileNotFoundException' occurred in opensmtp.dll
Assemblyname 'System' or one of its dependencies not found
I then tried to run it on a system with framework 1.1
there, it works ok
Does opensmtp.dll depend only on Framework 1.1?
yes, it requires the 1.1 framework
I will add a system requirements document to the next release to avoid this type of problem. I apologize for any time this cost you.