I'll be happy to give you the PHP example once I get it working.  Where can
I see the .asp example?  Also, I wasn't able to register the
cfx_imsmail.dll, I imagine that there's a different one for the COM object
than the cfx.  I couldn't find one on the web page or in the ftp directory,
where does one get the COM version of imsmail?

And I'd like to put in a request for a COM version of the mime decoder.
Spam and viruses are overwhelming me now, so my plan is to do a lot more
parsing and checking before delivering the mail.  Question:  what is the
overhead implication calling a web page (a .cfm page) to do the mime
decoding?   In other words, if I didn't use the COM object but instead just
made a call from within the php page to


http://domain.com/cfx/imsmail.cfm?smtpto=xx&smtpfrom=xx&emailfile=xx&header_
list=xx

I could translate each of the query string parameters into parameters to the
cfx tags.  Obviously, there's the overhead of calling a web page, but if
it's on the same network (or even the same machine), maybe this is not such
a bad approach?

Also, is the mime decoder thread-safe?  Obviously, if I were to use this
method I'd need to pass back the results to the calling routine, possibly as
an XML blob.  I imagine that this could be a lot of overhead, expanding out
the body in text and html, but maybe it's not too bad.  But then again,
maybe calling a COM object would be more efficient and less error prone.

Sorry for the rambing.  I look forward to getting the imsmail COM object
working in PHP and letting everyone see the results!

Tac

----- Original Message -----
From: "Howie Hamlin" <[EMAIL PROTECTED]>
To: "inFusion Support List" <[EMAIL PROTECTED]>
Sent: Wednesday, June 12, 2002 12:22 PM
Subject: Re: [iMS] Using IMS tools as COM objects


>
> ----- Original Message -----
> From: "Tac" <[EMAIL PROTECTED]>
> To: "inFusion Support List" <[EMAIL PROTECTED]>
> Sent: Wednesday, June 12, 2002 11:52 AM
> Subject: [iMS] Using IMS tools as COM objects
>
>
> > I'm migrating my IMS application scripts to PHP, but need access to some
of
> > the key CFX routines. Some questions about using them as COM objects:
> >
> > Is the MIME decoding object available as a COM object?  What are the
> > limitations on this relative to the CFX version?
> >
>
> We don't have a COM version of CFX_ODSMIME as of yet as there was no
demand for
> one.  This might be something that we look at in the near future.
>
> > I don't need the fancy stuff in CFX_IMSMAIL (the query and token
> > attributes), so I'm planning to use it if I can figure out how to get it
to
> > work.  Question:  does the object need to be "locked", or is it
reentrant?
>
> The iMSMail COM object is thread-safe.
>
> > I remember a lot of problems in early versions if you didn't use CFLOCK
> > around certain cfx_imsmail calls.
> >
>
> Yes, but the new version is thread-safe.
>
> > Finally, are there any examples in php, perl, asp or vb of calling the
mime
> > or imsmail object?  If so, that would make things much easier!
> >
>
> We provide an ASP example of using the iMSMail COM object but do not have
one in
> PHP yet.  The use of PHP has only become viable recently.
>
> Regards,
>
> Howie
>
>
> > TIA,
> >
> > Tac
> >
==^=======================================================
     This list server is Powered by iMS
   "The Swiss Army Knife of Mail Servers"
   --------------------------------------
To leave this list please complete the form at 
http://www.coolfusion.com/iMSSupport.cfm
Need an iMS Developer license?  Sign up for a free license here:
http://www.coolfusion.com/iMSDevelopers.cfm
List archives: http://www.mail-archive.com/infusion-email%40eoscape.com/
Note: You are subscribed as [email protected]
==^=======================================================


Reply via email to