[futurebasic] Re: [FB] Controlling Outlook Express

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : December 2000 : Group Archive : Group : All Groups

From: Robin <robinc@...>
Date: Tue, 19 Dec 2000 08:16:34 +1000
I'd also be interested in the following. If nobody has an answer, the way we
do it here is save a text file (containing subject, address(es) etc) then
the FB program calls an Applescript which puts it into Outlook Express. The
Applescript tends to run out of memory with long e-mails (over a few hundred
K) but that isn't a common problem. In the absence of a more direct method,
I can probably find the uncompiled script.
-- 
Robin
====================================================
Genesearch Pty Ltd
E-mail: robinc@...
WWW:    http://www.genesearch.com.au
====================================================

> Would it be possible to control Outlook Express from FB^3 to automate
> sending of messages?
> 
> Something like...
> 
> _maxLines = 100
> dim gToH$                    'recipient's email address
> dim gFrom$                   'sender's email address
> dim gSubject$                'subject line
> dim 80 gMessage$(_maxLines)  'an array of message text 80-character lines
> dim gAttachFP$               'filepath to file to be attached
> dim gOerr%                   'error status from sending an e-mail...
> 
> clear local
> local FN sendOEmessage%
> dim sendErr%
> 'using gToH$                   'recipient's email address
> 'using gFrom$                  'sender's email address
> 'using gSubject$               'subject line
> 'using 80 gMessage$(_maxLines) 'an array of message text 80-character lines
> 'using gAttachFP$              'filepath to file to be attached
> 
> 'now what ???????
> 
> end fn = sendErr%
> 
> gOerr% = FN sendOEmessage%
> 
> Any ideas or pointers would be appreciated...
> 
> The real issue here is that the FB stuff that I've seen and worked with uses
> SMTP to send mail (no log on or password required to send e-mail) whereas my
> current e-mail provider uses ESMTP (log on AND password IS required to send
> e-mail)
>