Using PDF Mapping program as the PDF User Program in a PSFCFG object. Modified program to write a log when an email with PDF attachment is created. Program is called from within PSFCFG twice each time - but I only need one record, anyone have any suggestions or has anyone resoved this problem in the past???? Since the program is called twice - I get two records per email. I only need one record per email. I call a program and that program writes the record to the log file.
Code at end of mapping program pdfnam = PDF attachment name
temail = To Email
femail = From Email
if temail <> *blank; EmailLog (pdfnam:temail:femail); endif;
February 8, 2010 11:41 PM
February 9, 2010 10:03 PM