SMTP Component

F

Fred

Hello,

I want to send with SMTP the eml files dropped by SmtpClient.Send when
using a pickup directory (not IIS one).
This can be useful for me as I send mails in several cases, included
with SQL Express CLR procs, and I don't want (or it's not possible) to
deal with asynchronous programming each time.
Have you heard about such a component (a service) or do I have to
program the SMTP protocol by myself ?
Or any other idea I didn't have yet ?

Thanks for your help.
 
F

Fred

Dans : Patrice disait :

Hello Patrice,

I try to continue in english !
Moving those files in the "official" pickup directory doesn't meet
your requirements ?

If there is no problem to use IIS SMTP server, I will choose this
solution. But I'm afraid there are a lot of constraints to be able to
send mails directly without a domain name, a MX record, from a dynamic
IP range and so on ...
I'm not sure to understand your overall goal (you
want to create eml files first and send them at a later time ???)

Yes. The main reason is that I send mails with SQL Express, using a clr
store proc. But I can't use asynchronous programming (or I didn't
discover yet how to do) when writing such a proc. And to send with SMTP
is too slow.
(Actually, I can already use IIS pickup directory for this proc)

The eml files created by SmtpClient.Send looks the same as the one you
can save with Outlook express. Except that they have two extra headers :
x-sender and x-recipient. Exactly what I need to implement the SMTP
protocol. If I don't start immediatly, it's just because it will be a
bit long, especially to deal with the AUTH extensions. I prefer to take
other advices before.
 

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

Top