That's good to know. Thanks for following up! The solution you found is a
little different than what I had in mind, but more full-featured.
Hopefully
it will help someone else.
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:%23w5DuR04IHA.4908@[EMAIL PROTECTED]
> 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
>>
>>
>
>
>


|