At 12:47 AM 5/21/2014, Larry Wilson wrote:

I am trying to send email attachments from RBase 9.5 64 using mapi mail
and am having problems sending out the email. My preferred method would
be to send them out using out bit I can't seem to make Outlook work at
all.


Larry,

When working with R:BASE MAPI Mail Plugin to send E-Mail with attachments
using MS Outlook, you have to make sure that you suppress the Outlook
defaults, such as the security, and enable the Resolve Name options.

For example:

SET VAR vSSAndRN TEXT = 'SuppressOutlookSecurity:TRUE|RESOLVE_NAMES TRUE'

Then, concatenate all parameters as one string, such as "vParameter" to
accomplish you goal.

-- Example

PLUGIN MapiMail3 &vParameters

Where "vParameters" contains everything including the "vSSAndRN" at the
tail-end of the concatenated TEXT/NOTE string.

Just for the sake of fun, try the following command at the R> prompt:

PLUGIN MapiMail3 v1

and see what you get.

Then, try the following:

SET VAR vSSAndRN TEXT = 'SuppressOutlookSecurity:TRUE|RESOLVE_NAMES TRUE'
PLUGIN MapiMail3 &vSSAndRN

That should get you started!

And finally, here is an untested code, exclusively for MS Outlook ...

-- MailMail3_And_Outlook.RMD
-- R:BASE MapiMail3 and MS Outlook
SET VAR vRet TEXT = 'vRet'
SET VAR vPipe TEXT = '|'
SET VAR vQuote TEXT = (CVAL('QUOTES'))
SET VAR vTo TEXT = '[email protected]'
SET VAR vSubject TEXT = 'My First Test'
SET VAR vBody TEXT = 'Alright!'
SET VAR vSSAndRN TEXT = 'SuppressOutlookSecurity:TRUE|RESOLVE_NAMES TRUE'
SET VAR vParameters NOTE = +
(.vQuote+.vRet&.vPipe+.vTo&.vPipe+.vSubject&.vPipe+.vBody&.vPipe+ +
 .vSSAndRN+.vQuote)
PLUGIN MapiMail3 &vParameters
CLEAR VARIABLES vRet,vPipe,vQuote,vTo,vSubject,vBody,vSSAndRN,vParameters
RETURN

Hope that helps!

Should you require further assistance, let me know and I will arrange an
online demo to illustrate the use of such example (my time and schedule
permitting).

www.join.me/RazzakMemon

Very Best R:egards,

Razzak.

www.rbase.com
www.facebook.com/rbase
--
31 years of continuous innovation!
16 Years of R:BASE Technologies, Inc. making R:BASE what it is today!
--

--- 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