Solved

VB.Net - SendMail

Posted on 2002-05-30
5
688 Views
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)?
0
Comment
Question by:Éric Moreau
[X]
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
5 Comments
 
LVL 22

Expert Comment

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

CJ
0
 
LVL 7

Accepted Solution

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

http://www.codeproject.com/csharp/sendmailcsharp.asp
0
 
LVL 70

Author Comment

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

Expert Comment

by:Joe_Griffith
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.
0
 
LVL 70

Author Comment

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

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