Neil
Mon Dec 01 16:13:56 CST 2003
> I saw those schemas.microsoft.com calls, and I'm very concerned about
them.
> Is that just what happens to be in the sample code? Was it written by
> Microsoft, and therefore they can't imagine that anything.microsoft.com
> would ever not work?
>
> More importantly, is there any way around it? That seems like a very
klugey
> at best way to do things - what if, for example, your network has an smtp
> server, but no access to schemas.microsoft.com? Or your internet
connection
> is down? Or some script kiddie is DDOSing Microsoft? I can think of a lot
of
> reasons not to use schemas.microsoft.com. I am a bit incredulous that this
> is how it has to be done.
>
I agree with you, assuming this is the only way to use it. I'm not sure what
the schema calls send back. It brings back memories of when I was trying to
make sense of someone's web services/SOAP specifications a couple of years
ago with VFP6 (or maybe it was Perl). Perhaps someone else can add more
clarity to this.
> I found a blat library class, that seems to be a wrapper for the blat.dll.
> Is that what you use?
>
Yes, I use a wrapper class written by Josh Assing,
http://www.jassing.com/vfp.htm. Makes things very simple.
set safety off
set classlib to blat
ox = createobject("blat")
** change these **
ox.cserver = "mail.server.com"
ox.cfrom = "me@myisp.com"
ox.cbody = "My message"
ox.csubject = "My subject"
ox.cto = "you@yourisp.com"
**
ox.Send()
Had to make a couple of minor changes to the class compiling a project where
spaces were included in the project path, but no problems other than that.
Regards,
Neil
>
>
> "Neil Waterworth" <nospam-or-nwaterworth@lineone.net> wrote in message
> news:eR5tJ7EuDHA.832@TK2MSFTNGP09.phx.gbl...
> > Yes, it was probably me who suggested CDO was unreliable. I think there
> are
> > two ways to use it for email, either through an existing email client or
a
> > remote SMTP server. I was looking at the SMTP route, which requires
calls
> to
> > '
http://schemas.microsoft.com/...'. It seemed to fail on these calls -
> some
> > days it would work, other days it wouldn't. Using the blat dll works
great
> > for me, just sending about 300 messages a day, and not failed yet.
> >
> > Regards,
> > Neil
> >
> > "Ook" <outlookexpress@nospam@embertsdotcom> wrote in message
> > news:uwsHanCuDHA.1224@TK2MSFTNGP09.phx.gbl...
> > > I've heard it said that cdo was not all that reliable. I've played
with
> > > blat, and it seems to work quite well. Which would be preferred? It's
a
> > > mission critical 24/7 application running VFP7 that sends out
occaisonal
> > > emails.
> > >
> > >
> >
> >
>
>