Solved

VB.Net - SendMail

Posted on 2002-05-30
5
684 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 69

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 69

Author Comment

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

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

758 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now