David

  When assigning text variables you should put parens around the value.
You were also missing a ending single quote subject assignment. This
seems to work ok for me using R:Base 7.6

 

Buddy

 

 

SET VAR vParameters TEXT = NULL

SET VAR vQuote TEXT = (CVAL('QUOTES'))

SET VAR vDummy TEXT = ('vDummy')

SET VAR vPipe TEXT = ('|')

SET VAR vTo TEXT = ('To:[EMAIL PROTECTED]')

SET VAR vSubject TEXT = ('Subject:Help')

SET VAR vParameters = +

(.vQuote+.vDummy&.vPipe+.vTo&.vPipe+.vSubject+.vQuote)

 

CLS

PLUGIN MAPIMAIL2.RBL &vParameters

CLEAR VAR vParameters, vQuote, vPipe, vTo, vSubject, vAttachments

 

RETURN

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of David
Blocker
Sent: Monday, September 22, 2008 3:49 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - MAPI Mail Problem

 

Dear R:Base friends - I posted this question a week ago.  It's possible
someone sent me an answer but I never received it - for some reason I
received no messages from the list for 2 days thereafter and then as
mysteriously as it stopped, deliveries started again.  So here it it
again:

 

I'm revisiting an application created some time ago in R:Base 7.5.  I
have a menu item that is supposed to allow the user of the application
to send an email  to me requesting help.  This is the EEP that I wrote
and worked at the time I created it:

 

SET VAR vParameters TEXT = NULL

SET VAR vQuote TEXT = (CVAL('QUOTES'))

SET VAR vDummy TEXT = 'vDummy'

SET VAR vPipe TEXT = '|'

SET VAR vTo TEXT = 'To:[EMAIL PROTECTED]'

SET VAR vSubject TEXT = 'Subject:Help 

SET VAR vParameters = +

(.vQuote+.vDummy&.vPipe+.vTo&.vPipe+.vSubject+.vQuote)

CLS

PLUGIN MAPIMAIL2.RBL &vParameters

CLEAR VAR vParameters, vQuote, vPipe, vTo, vSubject, vAttachments

RETURN

 

Running it under 7.6, I get first a Windows error message:  "No profiles
have been created.  To create a new profile, use the Mail icon in the
Control Panel."  This is followed by the R:Base 7.6 error message:
"MAPI: Login Failure: ErrorCode = 3".

 

When I go to the icon in the Control panel, the only options there refer
to MS Outlook, which is not my email application (I use Outlook Express
and I'm sure other users who will use this application down the road
cannot be assumed to use Outlook Express).

 

I have tried using MAPIMAIL3 and 4 - no difference.

 

I've been unable to find help on this issue under R:Base Help (MAPMAIL
rbl's are not listed under PlugIns), Razzak's Sample applications web
site or his "From the Edge" site.  Can anyone direct me to the the right
place to get help on this issue?  Or provide a solution?

 

David Blocker

 

David Blocker
[EMAIL PROTECTED]
Telephone: 781-344-1920
Cell Phone: 339-206-0261

Reply via email to