Good evening list!
I am having problems with MapiMail2 Plugin.
I can't fill in Accountname and Password from the code below nor can I
fill in the Resolve Name check box.

The code is essentially the same as for the old mapimail2.rbl that works
with rbase 7.6.

This code is for mapimail2.rbm and rbase 9.
I use a MacBook Pro with a Bootcamp partition and windows XP.
Mail program is Outlook Express.

Please look at the code and give me a hint on how to make it work/send
messages.

Thanks
Christian Hjortmar


CLOSE cursor1

DECLARE cursor1 CURSOR FOR SELECT e_namn,f_namn,e_post  +
FROM eposter ORDER BY e_namn

OPEN cursor1

FETCH cursor1 INTO ve_namn INDICATOR vi1, vf_namn INDICATOR vi2, +
ve_post INDICATOR vi3

WHILE SQLCODE <>100 THEN

  SET VAR vparameters TEXT = NULL
  SET VAR vquote TEXT = (CVAL('QUOTES'))
  SET VAR vdummy TEXT = 'vDummy'
  SET VAR vpipe TEXT = '|'
  SET VAR vaccountname TEXT = ('PROFILE_NAME:xx17876')
  SET VAR vpassword TEXT = 'PASSWORD:888winrbase888'
  SET VAR vto TEXT = ('To:'+ .ve_post)
  SET VAR vbcc TEXT = ('Bcc:[email protected]')
  SET VAR vsubject TEXT = 'Subject:News from SKILLINGE TEATER'
  SET VAR vbody TEXT = 'Body:This happens at Skillinge Teater next month.'
  SET VAR vattachments TEXT = 'Attachments:c:\temp\theosadress.txt'
  SET VAR vsend TEXT = 'SendDirect:TRUE'
  SET VAR vresolvenames TEXT = 'Resolve_Names:TRUE'

  SET VAR vparameters = +
  (.vquote+.vdummy&.vpipe+.vaccountname&.vpipe+.vpassword&.vpipe+.vto&.vpipe+
+
  .vbcc&.vpipe+.vsubject&.vpipe+.vbody&.vpipe+.vattachments&.vpipe+ +
  .vsend&.vpipe+.vresolvenames+.vquote)


  PAUSE 2 USING .vparameters

  PLUGINS mapimail2 &vparameters

  FETCH cursor1 INTO ve_namn INDICATOR vi1, vf_namn INDICATOR vi2, +
  ve_post INDICATOR vi3

ENDWHILE

DROP CURSOR cursor1

CLEAR VAR vparameters, vquote, vpipe, vto, vsubject, vbody, vattachments, +
vsend, vdummy

RETURN

--- RBASE-L
================================================
TO POST A MESSAGE TO ALL MEMBERS:
Send a plain text email to [email protected]

(Don't use any of these words as your Subject:
INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH,
REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP)
================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: INTRO
================================================
TO UNSUBSCRIBE: 
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: UNSUBSCRIBE
================================================
TO SEARCH ARCHIVES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: SEARCH-n
(where n is the number of days). In the message body, 
place any 
text to search for.
================================================


Reply via email to