|
Home > Archive > IIS and SMTP > September 2004 > How do i use SMTP server from my application?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
How do i use SMTP server from my application?
|
|
|
|
Hi,
We are developing a system running on windows 2000(system A) which need to
send email messages.
The system will be deployed inside an organization which have another mail
server(system B) with which messages
can go out from the organization
my questions are:
1.Is there any benefits if my application will use the SMTP server on system
A to send(queue) emails
and system A will connect to system B?
2.How do i connact to SMTP server,is there any COM\MAPI\.NET api?
3.Can i connect to SMTP server from a different machine?
4.Can i subscribe to events of SMTP server from a different machine?
5.does SMTP server support WEBDAV?
Thanks in advance
| |
| Jeff Cochran 2004-09-08, 5:54 pm |
| On Wed, 8 Sep 2004 10:17:18 +0200, "Julia" <codewizard@012.net.il>
wrote:
>
>Hi,
>We are developing a system running on windows 2000(system A) which need to
>send email messages.
>The system will be deployed inside an organization which have another mail
>server(system B) with which messages
>can go out from the organization
>
>my questions are:
>
>1.Is there any benefits if my application will use the SMTP server on system
>A to send(queue) emails
> and system A will connect to system B?
Single point of control versus two would be my main benefit of using
one SMTP server. But if you have connectivity issues you may choose
otherwise.
>2.How do i connact to SMTP server,is there any COM\MAPI\.NET api?
The CDO object is what you're looking for.
http://msdn.microsoft.com/library/d...view_of_cdo.asp
>3.Can i connect to SMTP server from a different machine?
Yep.
>4.Can i subscribe to events of SMTP server from a different machine?
I don't understand the question.
>5.does SMTP server support WEBDAV?
SMTP supports SMTP (conveniently). WebDAV is a different technology,
but you could write code to send files uploaded via WebDAV for
example.
Jeff
| |
|
| Thanks
".Can I subscribe to events of SMTP server from a different machine?"
I don't understand the question.
I am talking about event like when a new mail arrived.must I install
something on the same machine on which
the SMTP server reside in order to get catch the event?
Thanks.
"Jeff Cochran" <jeff.nospam@zina.com> wrote in message
news:414d2b33.1362697255@msnews.microsoft.com...
> On Wed, 8 Sep 2004 10:17:18 +0200, "Julia" <codewizard@012.net.il>
> wrote:
>
to[vbcol=seagreen]
mail[vbcol=seagreen]
system[vbcol=seagreen]
>
> Single point of control versus two would be my main benefit of using
> one SMTP server. But if you have connectivity issues you may choose
> otherwise.
>
>
> The CDO object is what you're looking for.
>
>
http://msdn.microsoft.com/library/d...view_of_cdo.asp
>
>
> Yep.
>
>
> I don't understand the question.
>
>
> SMTP supports SMTP (conveniently). WebDAV is a different technology,
> but you could write code to send files uploaded via WebDAV for
> example.
>
> Jeff
| |
| Jeff Cochran 2004-09-08, 5:54 pm |
| On Wed, 8 Sep 2004 19:15:30 +0200, "Julia" <codewizard@012.net.il>
wrote:
>".Can I subscribe to events of SMTP server from a different machine?"
> I don't understand the question.
>
>I am talking about event like when a new mail arrived.must I install
>something on the same machine on which
>the SMTP server reside in order to get catch the event?
You'd need to program an event sink. Check the MSDN documentation and
references for programming sinks, and ask in a programming newsgroup
relevant to your programming language of choice.
Jeff
>"Jeff Cochran" <jeff.nospam@zina.com> wrote in message
>news:414d2b33.1362697255@msnews.microsoft.com...
>to
>mail
>system
>http://msdn.microsoft.com/library/d...view_of_cdo.asp
>
|
|
|
|
|