Jan,
I rearranged everything to be in the same order as the "AllAboutPRINT.pdf". No errors but no email is sent either. I think I will throw up the white flag of surrender and just live with shutting down Outlook when I use MAPIMAIL3.RBL (my MAPIMAIL4.RBL does not seem to work). I have spent way too much tie on this. It is obvious I have some problem somewhere. The gremlins are BACK. Thanks for all the suggestions. PRINT &vreportname WHERE quoteid = .vquoteid + OPTION PDF + |FILENAME &vFileName + |EMAIL ON + |EMAIL_HOST k-exchange.k.local + |EMAIL_USERID ??? + |EMAIL_PASSWORD ??? + |EMAIL_ATTACHMENTS &vattachments + |EMAIL_BODY this is a test + |EMAIL_FROM_ADDRESS [email protected] + |EMAIL_FROM_NAME Jim + |EMAIL_TO_LIST [email protected] + |EMAIL_SUBJECT quotereport + |EMAIL_CC_LIST [email protected] + |EMAIL_PORT 25 + |EMAIL_AUTHENTICATION ON + |EMAIL_SHOW_DIALOG OFF James Belisle Making Information Systems People Friendly Since 1990 ________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of jan johansen Sent: Friday, January 13, 2012 7:35 AM To: RBASE-L Mailing List Subject: [RBASE-L] - Re: continuing email problems Jim, I think the PRINT option email is funny about the order of the options. Look in your R:BASE directory for a PDF called "AllAboutPRINT.pdf" or something like that. Make sure you use the options in the proper order. I think the EMAIL ON needs to be the first. Jan -----Original Message----- From: "Jim Belisle" <[email protected]> To: [email protected] (RBASE-L Mailing List) Date: Fri, 13 Jan 2012 07:28:08 -0600 Subject: [RBASE-L] - continuing email problems Gary, I realized after sending the email that the copy and paste did not really show things properly. The separators were correct in my actual code. I was getting an error "unrecognized command. Retype it" when it gets to the email section. I was able to get rid of the error and it acts like it is sending the email but it really is not. This is the actual code: PRINT &vreportname WHERE quoteid = .vquoteid + OPTION PDF + |FILENAME &vFileName + |TITLE Kay Park Recreation + |AUTHORIZATION Sales Quote Processing Department + |EMAIL ON + |EMAIL_HOST k-exchange.k.local + |EMAIL_USERID ??? + |EMAIL_PASSWORD ??? + |EMAIL_ATTACHMENTS &vattachments + |EMAIL_TO_LIST [email protected] + |EMAIL_SUBJECT quotereport + |EMAIL_BCC_LIST [email protected] + |EMAIL_BODY this is a test + |EMAIL_SHOW_DIALOG OFF + |EMAIL_FROM_NAME Jim + |EMAIL_FROM_ADDRESS [email protected] + |EMAIL_AUTHENTICATION ON Any variables I use are coming up correct when I trace the code. At least I got rid of the error code but it still is not sending. Any more suggestions? James Belisle Making Information Systems People Friendly Since 1990 James Belisle Making Information Systems People Friendly Since 1990

