How do i use SMTP server from my application?
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > IIS server support > IIS and SMTP > How do i use SMTP server from my application?




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    How do i use SMTP server from my application?  
Julia


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-08-04 07:50 AM


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










[ Post a follow-up to this message ]



    Re: How do i use SMTP server from my application?  
Jeff Cochran


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-08-04 10: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 syste
m
>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





[ Post a follow-up to this message ]



    Re: How do i use SMTP server from my application?  
Julia


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-08-04 10:54 PM

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...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







[ Post a follow-up to this message ]



    Re: How do i use SMTP server from my application?  
Jeff Cochran


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-08-04 10: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 
>






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:55 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register