Talk About Network

Google





Software > ADSI General > Re: ADSI develo...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 6 Topic 5320 of 5437
Post > Topic >>

Re: ADSI development and SMTP

by "Rich Raffenetti" <rich@[EMAIL PROTECTED] > Jul 11, 2008 at 05:53 AM

Joe,

Thanks for your response.  It got me to find the answer.

I thought, great idea - let's see what happens when I run my test CDO
email. 
Would it end up in a folder?  Would it find a folder to write in?  It 
worked!  The mail was sent and received.

Now... why?  Well it turns out that in Vista's IIS7 there is a
configuration 
for SMTP e-mail which permits entry of a remote SMTP host and I had 
configured our local SMTP server.  I evidently did that long before I 
learned that SMTP email (local) was not provided in Vista IIS.  There is a

checkbox for localhost but I did not experiment with that.

So I've been privately moaning that the capability was removed without 
providing an alternative.  Turns out there is this alternative which has
not 
been mentioned in the articles I've googled - or in the blogs.

For my development, a remote SMTP host is quite adequate since if it fails

for some reason, I will get immediate feedback from the program during my 
testing.  When I run it on a server in production, it will have the 
reliability of a local SMTP service.  And there is no change to the
program!

Case closed!

Rich Raffenetti

"Joe Kaplan" <joseph.e.kaplan@[EMAIL PROTECTED]
> wrote in message
news:eroiNui4IHA.4448@[EMAIL PROTECTED]
> Interesting!  I had no idea.  You may be SOL then.  :(
>
> You might be able to have the CDO cl***** actually generate the mail
> messages and dump them in a directory.  Nothing would send them, but you
> would at least be able to simulate the sending part of your code.  I've
> used this in .NET in cir***stances where I was testing and didn't
actually
> want to send anything.
>
> Joe K.
> -- 
> Joe Kaplan-MS MVP Directory Services Programming
> Co-author of "The .NET Developer's Guide to Directory Services
> Programming"
> http://www.directoryprogramming.net
> --
> "Rich Raffenetti" <rich@[EMAIL PROTECTED]
> wrote in message
> news:ep68eMi4IHA.4492@[EMAIL PROTECTED]
>> Wrong!  Vista's IIS does not have SMTP.  One of those differences.
>>
>> I thought that other developers would have run into and possibly solved
>> this issue.
>>
>>
>> "Joe Kaplan" <joseph.e.kaplan@[EMAIL PROTECTED]
> wrote in
message
>> news:OZnhb5d4IHA.4448@[EMAIL PROTECTED]
>>> I'm not sure why you are asking an SMTP question in the ADSI
newsgroup.
>>> :)
>>>
>>> My guess is that you need to make sure you have IIS installed on Vista
>>> as that is the component of the OS that SMTP usually comes with. 
That's
>>> how you got it installed on XP.
>>>
>>> Joe K.
>>>
>>> -- 
>>> Joe Kaplan-MS MVP Directory Services Programming
>>> Co-author of "The .NET Developer's Guide to Directory Services
>>> Programming"
>>> http://www.directoryprogramming.net
>>> --
>>> "Rich Raffenetti" <rich@[EMAIL PROTECTED]
> wrote in message
>>> news:OhOimcc4IHA.5060@[EMAIL PROTECTED]
>>>>I develop an ADSI program in Visual Basic which interacts with Active
>>>>Directory
>>>> and occasionally sends email to various groups who need to be
notified
>>>> of
>>>> changes or issues.  I have been using CDO which dispatches email via
>>>> SMTP.
>>>> When developing in XP, I had SMTP on XP equivalent to SMTP on the
>>>> server,
>>>> where the program would run. This was great!  Now I build and test in
>>>> Vista,
>>>> which now has no SMTP.   So the whole development model breaks down.
>>>> Not so
>>>> great!
>>>> Is there a solution for the missing SMTP service?  I prefer not to
>>>> install some non-native version of SMTP on my Vista machine.  I
prefer
>>>> not to put special code into the
>>>> programs either.
>>>>
>>>>
>>>
>>>
>>
>>
>> -- 
>> Rich Raffenetti
>
>
 




 6 Posts in Topic:
ADSI development and SMTP
"Rich Raffenetti&quo  2008-07-09 08:24:00 
Re: ADSI development and SMTP
"Joe Kaplan" &l  2008-07-09 11:10:49 
Re: ADSI development and SMTP
"Rich Raffenetti&quo  2008-07-09 19:22:17 
Re: ADSI development and SMTP
"Joe Kaplan" &l  2008-07-09 20:23:24 
Re: ADSI development and SMTP
"Rich Raffenetti&quo  2008-07-11 05:53:10 
Re: ADSI development and SMTP
"Joe Kaplan" &l  2008-07-11 12:19:59 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Thu Jan 8 21:12:58 PST 2009.