[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Fred

5/3/2008 6:49:00 AM

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.

--
Fred
foleide@free.fr

2 Answers

Patrice

5/5/2008 11:12:00 AM

0

Moving those files in the "official" pickup directory doesn't meet your
requirements ? I'm not sure to understand your overall goal (you want to
create eml files first and send them at a later time ???)

--
Patrice

"Fred" <foleide@free.fr.invalid> a écrit dans le message de groupe de
discussion : #16mRnOrIHA.2064@TK2MSFTNGP05.phx.gbl...
> 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.
>
> --
> Fred
> foleide@free.fr


Fred

5/5/2008 11:49:00 AM

0

Dans : news:43D44755-62B9-4028-A4EF-3D459069F995@microsoft.com,
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.


--
Fred
foleide@free.fr