DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Al Guten Guest

    sending email from a vb.net app


    Hi,

    Is there a way to send an email from a vb.net app that will work with Windows
    98. I am familiar with SmtpMail, but as I understand it only works on Windows
    2000, XP pro platforms.

    Thanks!

    -Al

  2. #2
    David A. Rothgery Guest

    Re: sending email from a vb.net app

    Al Guten <agut3@yahoo.com> wrote:
    >
    > Hi,
    >
    > Is there a way to send an email from a vb.net app that will work with Windows
    > 98. I am familiar with SmtpMail, but as I understand it only works on Windows
    > 2000, XP pro platforms.


    I think you'd need to get a 3rd-party mail component, write your own
    using the System.Net classes, or script Outlook via COM interop (not
    hard, but may not work everywhere).

    --
    Dave Rothgery
    Picking nits since 1976
    drothgery@alum.wpi.edu
    http://drothgery.editthispage.com

  3. #3
    Al Guten Guest

    Re: sending email from a vb.net app


    Hi Dave,

    Thanks for the reply! I would like to write the code myself. Which class
    under System.Net will send email? I was using System.Web.Mail, but that is
    limited to Win 2000.

    Thanks!

    Al

    David A. Rothgery <drothgery@alum.wpi.edu> wrote:
    >Al Guten <agut3@yahoo.com> wrote:
    >>
    >> Hi,
    >>
    >> Is there a way to send an email from a vb.net app that will work with

    Windows
    >> 98. I am familiar with SmtpMail, but as I understand it only works on

    Windows
    >> 2000, XP pro platforms.

    >
    >I think you'd need to get a 3rd-party mail component, write your own
    >using the System.Net classes, or script Outlook via COM interop (not
    >hard, but may not work everywhere).
    >
    >--
    >Dave Rothgery
    >Picking nits since 1976
    >drothgery@alum.wpi.edu
    >http://drothgery.editthispage.com



  4. #4
    David Rothgery Guest

    Re: sending email from a vb.net app

    None will directly, and you may have to resort to the API in places. Writing
    a good mail component isn't easy; if it were, Zane wouldn't be able to make
    money selling one. That's why it's the 'very hard way' of doing this; it's a
    lot easier to buy a component from someone.

    You'll have to read up on the SMTP protocol, and then implement it via
    System.Net.


    --
    Dave Rothgery
    drothgery@alum.wpi.edu

    "Al Guten" <agut3@yahoo.com> wrote in message news:3d0a1b2e$1@10.1.10.29...
    >
    > Hi Dave,
    >
    > Thanks for the reply! I would like to write the code myself. Which class
    > under System.Net will send email? I was using System.Web.Mail, but that is
    > limited to Win 2000.
    >
    > Thanks!
    >
    > Al
    >
    > David A. Rothgery <drothgery@alum.wpi.edu> wrote:
    > >Al Guten <agut3@yahoo.com> wrote:
    > >>
    > >> Hi,
    > >>
    > >> Is there a way to send an email from a vb.net app that will work with

    > Windows
    > >> 98. I am familiar with SmtpMail, but as I understand it only works on

    > Windows
    > >> 2000, XP pro platforms.

    > >
    > >I think you'd need to get a 3rd-party mail component, write your own
    > >using the System.Net classes, or script Outlook via COM interop (not
    > >hard, but may not work everywhere).
    > >
    > >--
    > >Dave Rothgery
    > >Picking nits since 1976
    > >drothgery@alum.wpi.edu
    > >http://drothgery.editthispage.com

    >




  5. #5
    Zane Thomas Guest

    Re: sending email from a vb.net app

    On Fri, 14 Jun 2002 10:34:59 -0700, "David Rothgery"
    <drothgery@alum.wpi.edu> wrote:

    >Writing a good mail component isn't easy


    Writing a simple usable SMTP component, the source for which several of
    which can be found on the net, isn't too tough.

    It gets tougher if you want to handle timeouts.

    And it gets tougher if you want to handle the email address specification
    correctly.

    And it gets a lot tougher if you want to create mime-compliant messages so
    that attachments can be created and sent.


    --
    Turn on, tune in, download.
    zane@mvps.org

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links