Hi!
I do not think code is wrong. But look at the end of the last emailaddress
when it appears in the "ready to send dialog box". There is/might be an
extra space. Get rid of that space and the email will be sent. That's what
I have to do.
Regards
Christian



> I have set up a program in 9.1 latest and everything is ok until I add
> multiple email addresses into the equation.
>
> I get an error message from Outlook: Microsoft Office Outlook does not
> recognize (email list - 2 email addresses separated by a semi-colon) and
> all
> I can do is click Cancel.
>
> Here is my code:
>
> set v vMultiMailToA text='[email protected]'
> set v vMultiMailToB text='[email protected]'
> set v vMultiMailTo1 text=(.vMultiMailToA+';'+.vMultiMailToB)
> set v vInsStart date=08/01/2011
> set v vInsEnd date=12/31/2011
> set v vcurrdir text=(cval('currdir'))
> set v vfilespec text=+
> (.vcurrdir+'\PDF\InspRpt_'+(FORMAT(.vInsStart,'MMDDYY'))+'_'+  +
> (FORMAT(.vInsEnd,'MMDDYY'))+'.pdf')
> SET VAR vQuote TEXT = NULL
> SET VAR vQuote = (CVAL('QUOTES'))
> SET VAR vDummy TEXT = 'vDummy'
> SET VAR vPipe TEXT = NULL
> SET VAR vPipe = '|'
> SET VAR vTo TEXT=('TO:'+.vMultiMailTo1)
> SET VAR vperiod text=((ctxt(.vInsStart))+'To:'+(ctxt(.vInsEnd)))
> SET VAR vSubject=('Subject:Inspection Report From:'+.vPeriod)
> SET VAR vCc TEXT='CC:'
> SET VAR vBcc TEXT='BCC:'
> set v vBody2 text='Please Review attached Inspection Report.'
> SET VAR vBody TEXT=('BODY:'+.vBody2)
> SET VAR vAttachments TEXT=('Attachments:'+.vfilespec)
> set v vresolve text='Resolve_Names:TRUE'
> SET VAR vSendDirect = 'SendDirect:TRUE'
> SET VAR vParameters TEXT = NULL
>
> SET VAR vParameters = +
> (.vQuote+.vDummy&.vPipe+.vTo&.vPipe+.vSubject&.vPipe+.vCc&.vPipe+.vBcc&.vpip
> e +
> +.vBody&+.vPipe+.vAttachments&.vPipe+.vresolve)
>
> PLUGIN MapiMail3 &vparameters
>
> I have tried everything I can think of to get this working and so far, no
> joy.
>
> If I use only one email, everything works, but I need multiple emails.
>
> Hope someone can help.
>
> Thanks,
>
> Bill Eyring
>

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