Previous Topic: Using HTML Within an EMAILNext Topic: Step 3. Run RMODBASE


Sending the Report Data as a PDF

You can use the following as a model:

Note: Email text is not required because the report is being sent as a PDF instead of an email message.

/EMAIL PARMS                                  
 CLASS=B                                       
 DEST=ESF2                                     
 FORMS=EMAIL                                   
 WRITER=EMAILPDF                               
 SENDRPT=YES                                   
 MAILTO=&EMADR1                                
        &EMADR2                                
        &EMADR3                                
        &EMADR4                                
        &EMADR5                                
        &EMADR6                                
        &EMADR6                                
        &EMADR7                                
        &EMADR8                                
        &EMADR9                                
        &EMADR10                               
        &EMADR11                               
        &EMADR12                               
 ADDRESS='SUBJECT=REPORT &RID (&DESC) ATTACHED'