Re: Calling BLAT DLL
| Newsgroups | gmane.mail.blat |
|---|---|
| Message-ID | <B1E465D70457485FB92EB43258386925@chip> |
> Sorry if this is a dumb question, but we have been using BLAT for some
> years and have lost the knowledge of how we implemented it and it would be
> useful to get the knowledge back again to improve our use of BLAT going
> forward. We use it to send e-mails from our "Magic" based application
> which can including attachments. I suspect we are using it in a basic way.
>
> We are using the DLL generally on version 2.4.0 and we can use the DLL up
> to version 2.7.6 without change to our calling software. We do not use the
> command line EXE program.
>
> Where can we find the documentation for the parameters for the SEND
> function?
>
> The reason for asking this is that a question arose a while back because
> of slow responses from hosted exchange servers. We typically fire e-mails
> at an exchange server, sometimes an in house server, sometimes hosted.
>
> Do we have to wait for a response as sending lots of e-mails (for non
> commercial purposes I might add) can be very slow, particularly when it is
> a hosted exchange server.
>
> Regards
>
> Barry
http://www.blat.net/syntax/syntax.html
The syntax for Send() entry point is:
extern __declspec(dllexport) int APIENTRY Send( LPCTSTR sCmd );
In other words, any command line option listed in the syntax.html page can
be sent to the DLL in a single long string, such as:
Send("message.txt -t myself -s \"Monthly billing for October\" -attach
\"pathname\\YourOctoberBilling.pdf\"");
One question comes to mind, are you able to rebuild your application with
the current blatdll.h so that you can get the enhancements in version 3.x.x?
If this is not possible, I might be able to recompile the DLL to have the
Send() entry point in addition to the SendW() and SendA() entry points.
Chip
------------------------------------
------------------------------------
--
Homepage:
http://www.blat.net