Did you ever try it without any variables or attachments? I found one boo-boo in it already. There is no such thing as authorization in the help file. |AUTHORIZATION Sales Quote Processing Department +
Just try it with the basics. If it works then go from there. PRINT reportname WHERE limit = 1 + OPTION PDF + |FILENAME test.pdf + |TITLE Kay Park Recreation + |EMAIL ON + |EMAIL_HOST k-exchange.k.local + |EMAIL_USERID ??? + |EMAIL_PASSWORD ??? + |EMAIL_TO_LIST [email protected] + |EMAIL_SUBJECT quotereport + |EMAIL_BODY this is a test + |EMAIL_FROM_NAME Jim + |EMAIL_FROM_ADDRESS [email protected] + |EMAIL_AUTHENTICATION ON Dan -----Original Message----- From: Jim Belisle Sent: Friday, January 13, 2012 5:28 AM To: RBASE-L Mailing List 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 --- 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. ================================================

