?
Solved

VB.Net - SendMail

Posted on 2002-05-30
5
Medium Priority
?
698 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 800 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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 …
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…
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…
Suggested Courses
Course of the Month9 days, 18 hours left to enroll

569 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