Re: BBCMF Call for Testers
c.k.lester wrote:
>
> * Currently, the system can't send emails from Windows. I'm using sendmail
> on FreeBSD and don't know what to use for Windows. I'll have to figure
> out what to do about that. Other than that, I don't know of any limitations.
I use blat (www.blat.net) with something like:
VOID = shellExecuteEx("open", "send.bat",
sprintf("%s %s %s %s %s", {last_dumped, subline, getText(txtSMTP),
getText(txtEmail), getText(txtFrom)}),
0, SW_MINIMIZE, 0)
Where send.bat is:
-------------------------------------------------
:) %1 file
:) %2 subject
:) %3 smtp server
:) %4 to email
:) %5 from email
rasdial woosh
echo email sending with command line:
echo %1 %2 %3 %4 %5 %6 %7 %8 %9
echo ---
cat %1 | cjpeg -quality 85 > %1.jpg
blat filler.txt -to %4 -f %5 -subject %2 -server %3 -attach %1.jpg -base64 -mime
-------------------------------------------------
There is a blat.dll which I think can be wrapped (ie a 'send_email' function)
but I never persued wrapping it as the batch file worked fine and gave more end
user flexibility (eg bringing up the internet connection etc)
Gary
|
Not Categorized, Please Help
|
|