473,382 Members | 1,373 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

SMTP mail

A.M
Hi,

What would be the best way to send and email in VB.NET?

I already know how send email using CDO. I am looking for some .NET class
API to be SMTP and POP3 client without bulky intermediate API.

Thanks,
Ali

Nov 20 '05 #1
16 1386
Hi OHM,

I hadn't realised you were German! ;-)

Regards,
Fergus
Nov 20 '05 #2
Dat Iz Correkt.

OHM
Fergus Cooney wrote:
Hi OHM,

I hadn't realised you were German! ;-)

Regards,
Fergus

Nov 20 '05 #3
LOL
Nov 20 '05 #4
* "One Handed Man" <Bo****@Duck.net> scripsit:
Dat Iz Correkt.


"Das ist korrekt."

ROFL

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #5
Cor
What has this to do with me?
Dat Iz Cor

Nov 20 '05 #6
* "Cor" <no*@non.com> scripsit:
What has this to do with me?
Dat Iz Cor


:-\

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #7
you should look into
System.Web.Mail.SmtpMail

---
Regards,

Roy Osherove
www.iserializable.com

On Fri, 7 Nov 2003 13:48:51 -0500, "A.M" <IH*******@sapm123.com>
wrote:
Hi,

What would be the best way to send and email in VB.NET?

I already know how send email using CDO. I am looking for some .NET class
API to be SMTP and POP3 client without bulky intermediate API.

Thanks,
Ali


Nov 20 '05 #8
* Roy Osherove <ro**@iserializable.com> scripsit:
you should look into
System.Web.Mail.SmtpMail


This class will use CDO internally too.

[...]
I already know how send email using CDO. I am looking for some .NET class
API to be SMTP and POP3 client without bulky intermediate API.


--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #9
Hi,

Here is a KB link may help you, you may take a look.
314201 HOWTO: Send E-mail Programmatically with System.Web.Mail and Visual
http://support.microsoft.com/?id=314201

Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
--------------------
From: "A.M" <IH*******@sapm123.com>
Subject: SMTP mail
Date: Fri, 7 Nov 2003 13:48:51 -0500
Lines: 12
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <#Q*************@tk2msftngp13.phx.gbl>
Newsgroups: microsoft.public.dotnet.languages.vb
NNTP-Posting-Host: 209.226.40.154
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftn gp13.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:154739
X-Tomcat-NG: microsoft.public.dotnet.languages.vb

Hi,

What would be the best way to send and email in VB.NET?

I already know how send email using CDO. I am looking for some .NET class
API to be SMTP and POP3 client without bulky intermediate API.

Thanks,
Ali


Nov 20 '05 #10
* v-******@online.microsoft.com (Peter Huang) scripsit:
Hi,

Here is a KB link may help you, you may take a look.
314201 HOWTO: Send E-mail Programmatically with System.Web.Mail and Visual
http://support.microsoft.com/?id=314201


Won't that use CDO internally too?

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>

<http://www.plig.net/nnq/nquote.html>
Nov 20 '05 #11
Cor
Herfried,

I saw this before do you mean CDONTS?

Cor
Nov 20 '05 #12
Cor
Hi Herfried,

I saw there was no reference
Won't that use CDO internally too?


I saw this before do you mean CDONTS?

Cor

Nov 20 '05 #13
* "Cor" <no*@non.com> scripsit:
I saw there was no reference


Reference on what?
Won't that use CDO internally too?


I saw this before do you mean CDONTS?


Yes, I am talking about CDONTS.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>

<http://www.plig.net/nnq/nquote.html>
Nov 20 '05 #14
* "Cor" <no*@non.com> scripsit:
I saw this before do you mean CDONTS?


Yes.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>

<http://www.plig.net/nnq/nquote.html>
Nov 20 '05 #15
Cor
Herfried,

When I give a message to you I always give a reference by value as I told
before.

:-)) see it as an extra service

Cor
Reference on what?

Nov 20 '05 #16
Hi Herfried,

Yes.
The MSDN said,
The System.Web.Mail namespace contains classes that enable you to construct
and send messages using the CDOSYS (Collaboration Data Objects for Windows
2000) message component. The mail message is delivered either through the
SMTP mail service built into Microsoft Windows 2000 or through an arbitrary
SMTP server. The classes in this namespace can be used from ASP.NET or from
any managed application.
http://msdn.microsoft.com/library/de...us/cpref/html/
frlrfsystemwebmail.asp

I just wants to offer a sample.

Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 20 '05 #17

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Mark Carter | last post by:
I'm trying to create a mail server in Twisted. I either get SMTPSenderRefused or SMTPException: SMTP AUTH extension not supported by server. What do I need to do to get it to work?
21
by: Nancy | last post by:
Hi, Guys, Is there any other way to use python or mod_python writing a web page? I mean, not use "form.py/email", no SMTP server. <form action="form.py/email" method="POST"> ... Thanks a lot. ...
2
by: RandRace | last post by:
I'm having some problems with a little script i wrote using net::smtp. I originally wrote it in linux where it works perfectly. I tried to use it from windows the other day and it doesn't work. It...
15
by: Steven Burn | last post by:
My server has POP but only has SMTP if sending to my domain, and not other domains (such as hotmail). I'm therefore wondering, if anyone knows of any scripts etc, that will allow me to have a sort...
3
by: dale zhang | last post by:
Hi, I write an asp.net web application. It has a “Contact Us” page, where users fill in their email, subject and text and hit send. Then the email will go to my hard coded yahoo email...
5
by: Charlie | last post by:
Hi: I'm working on an e-commerce site. Using the SMTP class, my site sends out confirmation messages. It works most of the time, but sometimes raises an error. I need a way of making sure it...
3
by: RN | last post by:
I am tired of sending mail from the built-in SMTP service for so many reasons (errors are nondescriptive in the event log, it doesn't let me control which IP address it sends from, and it...
34
by: antonyliu2002 | last post by:
I've set up the virtual smtp server on my IIS 5.1 like so: 1. Assign IP address to "All Unassigned", and listen to port 25. 2. Access Connection granted to "127.0.0.1". 3. Relay only allow...
5
by: Chris | last post by:
I am trying to send email in C#. I wrote 2 pieces of code: 1. MailMessage mail = new MailMessage(); mail.From = "from_address"; mail.To = "to_address"; mail.Subject = "subject"; mail.BodyFormat...
7
by: oopsbabies | last post by:
Hello everyone, I am using Apache 1.3.33 as the web server and PHP version 4.3.10. My machine is using Windows XP 2002 professional edition which comes with a Windows firewall. I am using McAfee...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.