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

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Jeff Cochran (jeff.nospam_at_zina.com)
Date: 09/08/04


Date: Wed, 08 Sep 2004 21:15:08 GMT

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...
>> 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/default.asp?url=/library/en-us/cdo/html/_olemsg_overview_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
>



Relevant Pages

  • Re: How do i use SMTP server from my application?
    ... >the SMTP server reside in order to get catch the event? ... You'd need to program an event sink. ... references for programming sinks, and ask in a programming newsgroup ... Jeff ...
    (microsoft.public.inetserver.iis.smtp_nntp)
  • Re: Outlook Access permission
    ... library in Windows 2000 and 2003 to create and send messages through an SMTP ... Sue Mosher, Outlook MVP ... >>functions to use an SMTP server. ... >>programming langauge on the computer. ...
    (microsoft.public.outlook.thirdpartyutil)
  • Re: attaching a suffix
    ... programming knowledge or I might be able to get to where I want to go. ... I can change my tables and I did try some of what Jeff and others suggested. ... Larry, thanks for your reply and assistance. ... the basic schema meet certain standards. ...
    (microsoft.public.access.modulesdaovba)
  • Re: Lotus Agenda Rewrite?
    ... "usability testing" in a few weeks or so. ... programming to behave as I wish: sometimes the default behavior on various ... Jeff C. ... If the column heading is an Attribute display ...
    (microsoft.public.project)
  • Re: Lotus Agenda Rewrite?
    ... "usability testing" in a few weeks or so. ... programming to behave as I wish: sometimes the default behavior on various ... Jeff C. ... If the column heading is an Attribute display ...
    (microsoft.public.pocketpc)