Solved

VB.Net - SendMail

Posted on 2002-05-30
5
687 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
  • 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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying 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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

856 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