Results 1 to 4 of 4

Thread: Send Mail in Windows 98 Not Working

Threaded View

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2001
    Location
    USA
    Posts
    1,026

    Send Mail in Windows 98 Not Working

    I have included a mailing feature in my latest project and seem to have come across a pretty big problem. Durring testing, I tried to send an email from a Windows 98 machine and recieved an error telling me that the feature is only available in the later versions of the Windows operating system.

    Below is a sample of the code I was trying to use. Does anyone know what I have to install on the client machine for this to work, or is there another way of sending an email through an SMTP server?

    VB Code:
    1. Dim Mail As New MailMessage
    2.         Try
    3.             Mail.To = "[email protected]"
    4.             Mail.From = MailAddress
    5.             Mail.Subject = ComName
    6.             Mail.BodyFormat = MailFormat.Text
    7.             Mail.Body = BuildBody()
    8.             SmtpMail.SmtpServer = MailServer
    9.             SmtpMail.Send(Mail)
    10.         Catch ex As Web.HttpException
    11.             MsgBox("Error:  Check Settings.")
    12.             Dim request As frmSettings = New frmSettings
    13.             request.ShowDialog()
    14.             request.Select()
    15.             LoadSettings()
    16.             Exit Sub
    17.         End Try

    Thanks for any help you all can offer,

    Squirrelly1
    Last edited by squirrelly1; Mar 30th, 2004 at 10:11 AM.
    Now happily married and still crankin' away at the keyboard. Life is grand for a coder, no?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width