Re: Cant send email without being logged on
- From: "PaulB" <anonymous@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 22 Sep 2005 09:15:17 +0100
Do you know if the script is firing? Is it firing an erroring? Do you have error traps and piping to a text file?
"Yogimeister" <Yogimeister@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:7670BBE3-5C75-4BAA-A72C-DFE4B93D4100@xxxxxxxxxxxxxxxx
I am usng windows 2003. I am sending through a smtp server that i control
that does not require authentication. the script works fine when i am logged
on. this is using the schema.microsoft.com stuff.
What version of CDO are you using? CDO for Windows 2000 doesn't use MAPI
sessions to send mail and requires no authentication. CDO 1.2.1 which comes
with Exchange 5.5, Outlook and is included with Exchange 200x requires a
MAPI session and you must authenticate.
"Al Dunbar" <AlanNOSPAmDrub@xxxxxxxxxxx> wrote in message
> "Yogimeister" <Yogimeister@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>>I have a script that runs from the RunOnce key It is suppose to send >>an
>> email using CDO as outline in the script center.
>> everything works, but I do not get the email until after I log on. >> What
>> I do to make the script send me the email without needing to logon.
> If the script works when you are logged on and just run it, then I > suspect
> the issue is the unavailability of the network, and/or CDO when a > script
> is run from RunOnce.
- Prev by Date: Re: Vbscript to modify user object in AD
- Next by Date: adding a roaming profile to all users
- Previous by thread: Re: Cant send email without being logged on
- Next by thread: How to select and copy first few lines from a doc or xls file using vbscript