By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,952 Members | 959 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,952 IT Pros & Developers. It's quick & easy.

How to send Email on Win98 platform?

P: n/a
Is there a way for programs running on the Win98 OS to send email? I
currently have programs running on XP and Win2000 that send emails but was
told my code would not work on Win98 or WinNT 4.0 platforms. The code I am
using for XP and Win2000 is as follows:

Private Sub SendEmail( ByVal sMyEmailAddress As String, ByVal
sYourEmailAddress As String, ByVal sBody As String)

Dim MailMsg As New MailMessage

'build mail message
With MailMsg
.From = sMyEmailAddress
.To = sYourEmailAddress
.Subject = ""
.Body = sEmailBody
End With

'send mail message
SmtpMail.Send(MailMsg)

End Sub

I would really like to keep this functionality for my programs that are
running on Win98 because I use it to notify me of any errors that might be
encountered.

-Thanks
Jul 19 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.