VB.Net - SendMail

Posted on 2002-05-30
Last Modified: 2012-05-04
In VB.Net, aside from "SMTPMail.Send", is there another way to send e-mails that doesn't requires CDO and use the framework (and not a VB6 component)?
Question by:Éric Moreau
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
LVL 22

Expert Comment

ID: 7044434
I suppose .Net has a similar thing to MAPI.


Accepted Solution

Joe_Griffith earned 200 total points
ID: 7044864
Here is a C# reference that could probably be translated fairly easily:
LVL 70

Author Comment

by:Éric Moreau
ID: 7046146
Fine. I have translated it to VB.Net and extended it a bit.

Expert Comment

ID: 7046926
Does it work without CDO?  A friend of mine has been experimenting with a .NET decompiler and he indicated that it might still be using CDO.
LVL 70

Author Comment

by:Éric Moreau
ID: 7046941
All you need is an Internet Connection and an access to a SMTP server.

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Copy a row 12 69
VBA Shell can't Find Word document 11 130
Modifying Conditional Format from VBA code 3 70
backup program with robocopy 6 72
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question