Deliver - Sending emails from Deliver using Spool and CSSMTP
search cancel

Deliver - Sending emails from Deliver using Spool and CSSMTP

book

Article ID: 247562

calendar_today

Updated On:

Products

Deliver

Issue/Introduction

We would like to use CSSMTP as the emailing protocol, using the Spool CSSMTP driver, all to be done via Deliver and its email function.

Environment

Release : 14.0

Component : Deliver

Resolution

For CSSMTP email processing in Deliver, via the Spool Email Print Driver, the client used the following Spool definition:

DESTID QDEST=CSSTEXT,FDEST=(CSSTEXT.CSSMTP)                                     
  NODE     CSSTEXT,CSSMTP01,GROUP=1,CLASS=ALL,                                    
           DRIVPRM1='CSSMTPWR=CSSMTP'   

As CSSMTP email use requires the use of a Deliver email template, this is the one that was used:

/EMAIL PARMS                   
 CLASS=V                       
 DEST=CSSTEXT                  
 WRITER=ABCDEFG                
 ADDRESS='SUBJECT=RPT: &RID'   
  ' &JNAME/&JID &CDATE4 &CTIME'
  'FILENAME=&RID.PDF'          
 SENDRPT=YES                   
 MAILFILE='&RID.PDF'           
 MAILTO=&A19                   
 MAILFROM=CA-DELIVER

It was found that the client had certain Deliver Distribution ID identifiers that were used for emailing. 

In the Deliver Report Definitions, these Distribution IDs had an "Out" field value of "Y", and, to use the template, those values would need to be changed to "E".