VB email using SMTP


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: VB email using SMTP

  1. #1
    Join Date
    Nov 2004
    Posts
    293

    VB email using SMTP

    Does anyone know where I can get some sample code to send email using SMTP? I've looked at a couple of sites but nothing is simple enough for me to understand.

  2. #2
    Join Date
    Mar 2009
    Location
    Italy - Breganze (VI)
    Posts
    120

  3. #3
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,666
    They really don't get a whole lot simpler than these examples.

    http://www.example-code.com/vb/email.asp
    I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    Modifications Required For VB6 Apps To Work On Vista

  4. #4
    Join Date
    Jun 2004
    Posts
    93
    If you are looking for simple, you should look for a 3rd party SMTP library/dll that supports VB6 (COM) and has the basics including attachments, optional SMTP authorization, etc.

    Sending via SMTP is really not that difficult to implement yourself. SMTP is a text-based sockets protocol which is well documented. There is a straightforward back-and-forth communication between you and the SMTP Server that can be implemented using the VB6 winsock control. Doing it yourself gives you more control, but does require a little more effort.

Similar Threads

  1. More on Visual J#.Net
    By Jim Pragit in forum .NET
    Replies: 64
    Last Post: 10-20-2001, 08:06 PM
  2. The day that everything went wrong!!!
    By WHYVB? in forum .NET
    Replies: 0
    Last Post: 10-03-2001, 09:14 AM
  3. Self-Interest & VS.NET
    By Zane Thomas in forum .NET
    Replies: 147
    Last Post: 01-31-2001, 01:00 PM
  4. EMail from vb application
    By Jose in forum VB Classic
    Replies: 4
    Last Post: 07-07-2000, 07:21 AM
  5. EMail from vb application
    By Jose in forum VB Classic
    Replies: 0
    Last Post: 07-06-2000, 01:08 PM

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


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center