Hi, Karen:
Thanks for the sample.....I guess i missed it, and thought that the print 
command with email on and options could figure out the host/port/authentication 
issue on its own.   but, not true.  I guess I'll have to mess with the email to 
determine the settings, which I have never done.    Thanks again.
Jim 
    On Saturday, November 11, 2023 at 08:50:59 AM EST, 'Karen Tellef' via 
RBASE-L <rbase-l@googlegroups.com> wrote:  
 
  Here's a copy of code that runs fine every day (all data is sent in by 
variables).  Perhaps compare to your code and see what the differences are?  
It's been a long time since I've messed with this code; we embedded the 
host/port/authentication within the print itself for some reason rather than 
doing the settings.  We store the settings within a table.  I think it was just 
for ease rather than remembering to do report email settings with new RBase 
installs

Karen

PRINT invemail WHERE billdate = .#DATE OPTION PDF|FILENAME &vfilename +
         |EMAIL ON +
         |EMAIL_AUTHENTICATION OFF +
         |EMAIL_HOST &gEmailHost +
         |EMAIL_PORT 25 +
         |EMAIL_USERID &gEmailUser +
         |EMAIL_PASSWORD &gEmailPass +
         |EMAIL_TO_LIST &vtoadd +
         |EMAIL_FROM_NAME Boston Division +
         |EMAIL_FROM_ADDRESS &vfrom +
         |EMAIL_SUBJECT &vsubject +
         |EMAIL_BODY &vames +
         |EMAIL_DELETE_AFTER_SEND ON +
         |EMAIL_SHOW_DIALOG OFF

    On Friday, November 10, 2023 at 04:52:49 PM CST, 'jim schmitt' via RBASE-L 
<rbase-l@googlegroups.com> wrote:  
 
 Greeting fellow R:base users:
You may be able to offer some blues clues for me.This is my first attempt at 
trying to send a report via email:
Using RB Version X5E  10.5.4 20646

Tried using Razzak's sample in RRBYW20 - code listed below:
PRINT Invoice WHERE TransID = 1031 +OPTION PDF|FILENAME Invoice_1031.PDF 
+|EMAIL ON +|EMAIL_TO_LIST jim.schm...@yahoo.com +|EMAIL_FROM_NAME John D. 
Johnson +|EMAIL_FROM_ADDRESS jim.schm...@yahoo.com +|EMAIL_SUBJECT Imagine The 
Possibilities! +|EMAIL_BODY Attached is the invoice - sent via R:BASE. Because 
we Can! +|EMAIL_DELETE_AFTER_SEND ON +|EMAIL_SHOW_DIALOG ONreturn

If I try it with just the first two lines, it works and creates the PDF file 
which I can see..With the email options, I get nothing ??Just can't see what I 
am missing.....any help would be appreciated. The report email settings listed  
below:


Thanks in advance.Jim

-- 
For group guidelines, visit 
http://www.rbase.com/support/usersgroup_guidelines.php
--- 
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rbase-l+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rbase-l/1074275864.2200889.1699656760734%40mail.yahoo.com.
  

-- 
For group guidelines, visit 
http://www.rbase.com/support/usersgroup_guidelines.php
--- 
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rbase-l+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rbase-l/2067692558.1858400.1699710651612%40mail.yahoo.com.
  

-- 
For group guidelines, visit 
http://www.rbase.com/support/usersgroup_guidelines.php
--- 
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rbase-l+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rbase-l/1872682227.3620598.1699989282797%40mail.yahoo.com.

Reply via email to