Why don't you simplify he entire process and use BLAT
Sytze
On 10/10/07, David Boatright <[EMAIL PROTECTED]> wrote:
> Bill Kressbach
>
> >It still doesn't work. Here's the code I used:
>
> >oMessage=Createobject('CDO.Message')
> .oConfig=Createobject('CDO.Configuration')
> >oConfig.Fields.Item
> .("http://schemas.microsoft.com
> /cdo/configuration/sendusing<http://schemas.microsoft.com>").value
> = 2
> >oConfig.Fields.Item("
> http://schemas.microsoft.com/cdo/configuration/smtpserverport").value
> .= 25
> >With oMessage
> > .From = '[EMAIL PROTECTED]'
> > .To = '[EMAIL PROTECTED]'
> > .Subject = "Reboot Notify"
> > .TextBody = 'Reboot - '+SYS(0)+' '+TTOC(DATETIME())
> .Send()
> >ENDWITH
>
> >I have two computers each running XP Pro. Both on the same network. It
> >works on one but will not work on the other. There are no error messages,
> >just doesn't send the email. I know that XP doesn't ship with CDO any more
> >but all the literature I've found indicates that if you install Outlook it
> >also installs CDO. That's how I got it to work on the first computer but
> >now that I've installed Outlook on the second computer it doesn't work.
> The
> >version of Outlook is 2003. The computer that works may have an earlier
> >version of Outlook.
>
> Do not need to define the smpt server as well
> oConfig.Fields.Item ("
> http://schemas.microsoft.com/cdo/configuration/smtpserver") ="
> mail.bellsouth.net"
>
> Do both XP machines have an email account setup ?
>
>
> --- StripMime Report -- processed MIME parts ---
> multipart/alternative
> text/plain (text body -- kept)
> text/html
> ---
>
[excessive quoting removed by server]
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.