At 03:23 PM 2/12/2008, Carpet Broker wrote:

We use outlook express, but I would be willing to change that for something
that works. (tried thunderbird, no luck)

When run from the R:prompt, the code below, (from Razzak's earlier e-mail)
seems to work... however

The email does not actually send, it just sets in the OE outbox. It does not
seem to matter where OE is open or not, It only sends when you close OE
Rbase continues to operate correctly, but on closing gives you a ' Rbase has
encountered a problem & needs to close'  message. I just need this to work
seamlessly in the background without hang-up or errors.

-- Start
-- Pre-Define Required Variables for MapiMail4.RBL Plugin
CLEAR ALL VAR
SET VAR vmailto TEXT = NULL
SET VAR vemailaddress = '[EMAIL PROTECTED]'
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: Test Message')
SET VAR vbody TEXT = ('Body:This message is a test')
-- Build one string with all parameters
SET VAR vparameters TEXT = +
(.vquote+.vresult&.vpipe+.vto&.vpipe+.vsubject&.vpipe+.vbody)
CLS
-- Initialize MapiMail4.RBL
PLUGIN mapimail4.rbl &vparameters
-- Clear variables
CLEAR ALL VARIABLES
RETURN
-- End

Dick,

The MapiMail4.rbl Plugin is intended to send a message directly through
your email client program. However, you may need to adjust the settings
of the default email client (Outlook in your case) to allow outgoing
e-mails without being queued.

If that becomes an issue or inconvenience, you may consider R:Mail 2.6
or R:Mail 3.0 to totally automate everything!

http://www.rbase.com/products/rmail/

http://www.rbase.com/products/rmail30/

Very Best R:egards,

Razzak.


Reply via email to