Menu

error when using with Framework 1.0

Help
tboeko
2005-03-23
2013-04-15
  • tboeko

    tboeko - 2005-03-23

    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?

     
    • Ian Stallings

      Ian Stallings - 2005-03-25

      yes, it requires the 1.1 framework

       
    • Ian Stallings

      Ian Stallings - 2005-03-25

      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.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.