Free SMTP Class?

  • Thread starter Thread starter Chris Ashley
  • Start date Start date
C

Chris Ashley

I'm having a lot of problems with the standard MailMessage class which
I believe uses CDO. Are there any free alternatives out there?
Something like sendmail which doesn't need a local or external SMTP
server would be great, is there anything out there?
 
How do you figure on sending an email without an SMTP server? That's kind of
like trying to send regular mail without a post office.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
If you push something hard enough,
it will fall over.
- Fudd's First Law of Opposition
 
Kevin said:
How do you figure on sending an email without an SMTP server? That's kind of
like trying to send regular mail without a post office.

I'm not sure on the specifics but I always assumed it would be possible
to have the class support sending directly without using a local server
to relay? Is that not how sendmail works? Apologies if I'm totally
wrong!

Cheers,

Chris
 
How do you figure on sending an email without an SMTP server? That's
kind of like trying to send regular mail without a post office.

You can send mail directly without a SMTP server - the component itself can
connect directly with the remote mail server. Typically I believe this
feature is called 'direct sending'.
 
re:
sending directly without using a local server to relay?
Is that not how sendmail works?

Only if you're sending via uucp.

Most mail sent via sendmail is sent using smtp servers.

See :

http://www.sendmail.org/m4/readme.html
http://www.sendmail.org/m4/non_smtp_config.html
http://www.sendmail.org/m4/mailers.html



Juan T. Llibre
ASP.NET.FAQ : http://asp.net.do/faq/
ASPNETFAQ.COM : http://www.aspnetfaq.com/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
 
By "remote mail server," do you mean "remote SMTP server?"

You may find the following article helpful:

http://en.wikipedia.org/wiki/Email

--

Kevin Spencer
Microsoft MVP
..Net Developer
If you push something hard enough,
it will fall over.
- Fudd's First Law of Opposition
 
Chris,

You can send directly to a remote SMTP server given the correct code etc,
but the issue is that if the remote server is not available what do you do?
SMTP is designed to handle situations where a server is temporarily off-line
by queuing and later resending mail. If you use the "direct" method and your
application completes and exists, how can you handle this type of situation?
 
My point was, local or remote, you have to send it to *AN* SMTP server.

In fact, it may pass through quite a few "hands" between here and there, but
all the hands are SMTP servers.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
If you push something hard enough,
it will fall over.
- Fudd's First Law of Opposition
 
My point was, local or remote, you have to send it to *AN* SMTP
server.

In fact, it may pass through quite a few "hands" between here and
there, but all the hands are SMTP servers.


Yes, but if the OP doesn't have an SMTP server... sometimes one must op to
send directly to the recipient's server.
 
The OP's request was that someone tell him where he could find an email
component that did not require an SMTP server. The answer is no. He did not
ask if there was an email component that did not require a *local* SMTP
server. There is no such thing as an email component which does not require
an SMTP server. Any way you slice it, you're going to have to specify *AN*
SMTP server. *sigh*

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
If you push something hard enough,
it will fall over.
- Fudd's First Law of Opposition
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top