Dick,

 

I understand that Outlook Express and Outlook behave differently.   I
successfully use Outlook and R:Mail 2.6, soon to try 3.0.

 

I would look at the Outlook Express settings for send/receive, like maybe
automatically send/receive when connected or some other setting which is
preventing OE from acting while R:BASE is running.  Is OE running during
this process or is the "If you click on outlook express, prior to closing
R:Base." mean that you are launching OE?

 

Claudine :-)

 

  _____  

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Carpet
Broker
Sent: Sunday, February 10, 2008 3:25 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Automatic Emails

 

Oh so close, but no cigar.

 

I have (forever) been trying to automate order acknowledgement and invoice
emails.

 

Using Razzak's fine adivse from below, I am finally getting it to work...
almost.

 

All works fine till the e-mail goes into the Outlook Express outbox, where
it seems to hang up.

 

You can continue to run R:base with no problem, but when you exit, you get
the

 

 "Rbase has encountered a problem and needs to close"  box.  

 

If you click on outlook express, prior to closing R:Base, you get the
following error.

 

"Access violation address 60349F17  Read of address 60349F17"

 

Only after you close R:base, does the e-mail finally leave the Outlook
Express OutBox

 

Its like its not getting a 'Get it out of here now' message.

 

Ideas are more than welcome.

 

Running 7.5.25.30811 in a custom app generated with application express.

 

Dick Fey

Carpet Broker Inc.

 

 

 

 

 

On 12/15/07  Razzak wrote:

 

Try the following code for MAPIMail4.RBL Plugin to send E-Mail:

-- Start
-- Pre-Define Required Variables for MapiMail4.RBL Plugin
    SET VAR vFileName TEXT = 'Welcome.pdf'
    SET VAR vQuote TEXT = (CVAL('QUOTES'))
    SET VAR vResult TEXT = 'vResult'
    SET VAR vPipe TEXT = '|'
    SET VAR vTo TEXT = ('To:'+.vEMailAddress)
    SET VAR vSubject TEXT = ('Subject:Welcome to AFOL On-Line')
    SET VAR vCc TEXT = ('Cc:'+.vSchoolEMail)
    SET VAR vBcc TEXT = ('Bcc:')
    SET VAR vAttachments TEXT = 
('Attachments:'+(CVAL('CURRDIR'))+'\'+.vFileName)
    SET VAR vBody TEXT = 'Body:Please see attached...'
-- Build one string with all parameters
    SET VAR vParameters TEXT = +
 
(.vQuote+.vResult&.vPipe+.vTo&.vPipe+.vSubject&.vPipe+.vCc&.vPipe+.vBcc&.vPi
pe+
     +.vAttachments+.vPipe+.vBody)
    CLS
-- Initialize MapiMail4.RBL
    PLUGIN MAPIMail4.RBL &vParameters
-- Clear variables
    CLEAR VARIABLES vFileName,vQuote,vResult,vPipe,vTo,vSubject,vCc, +
    vBcc,vAttachments,vBody,vParameters
    RETURN
-- End

Reply via email to