My Oracle Support Banner

E-MCF/AE/PC: PO_PO_EMAIL does not Send Email and Returns 'Java.io.FileNotFoundException... The System Cannot Find the File Specified' Error (Doc ID 2983652.1)

Last updated on OCTOBER 30, 2023

Applies to:

PeopleSoft Enterprise PT PeopleTools - Version 8.60 and later
Information in this document applies to any platform.

Symptoms

After upgrading to PT8.60/FSCM 9.2 PUM44, getting java errors below in the log/trace file when running PO_PO_EMAIL and therefore it is not sending the email.

Creating SendMailException
6951174 17:08:54.551 0.000066 PSMCFSendMailException
6951175 17:08:54.551 0.000062 PSMCFSendMailException: Context: OutboundEmail.Send method called
6951176 17:08:54.551 0.000060 PSMCFSendMailException: Java Exception: jakarta.mail.MessagingException
6951177 17:08:54.551 0.000059 PSMCFSendMailException: Brief Message:IOException while sending message
6951178 17:08:54.551 0.000079 PSMCFSendMailException: Detail Message:jakarta.mail.MessagingException: IOException while sending message;
nested exception is:
java.io.FileNotFoundException: 00000840.PDF00000840.PDF (A file or directory in the path name does not exist.)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1350)
at com.peoplesoft.pt.mcf.mail.MCFOutboundEmail.send(MCFOutboundEmail.java:1708)
at com.peoplesoft.pt.mcf.mail.MCFOutboundEmail.send(MCFOutboundEmail.java:2189)
Caused by: java.io.FileNotFoundException: 00000840.PDF00000840.PDF (A file or directory in the path name does not exist.)
at java.base/java.io.FileInputStream.open(FileInputStream.java:219)
at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157)
at jakarta.activation.FileDataSource.getInputStream(FileDataSource.java:80)

 

The PO_PO_EMAIL process is used to email the PO’s. Site has modified code to alter fields &MAIL_TO, &MAIL_TEXT and &MAIL_SUBJECT, as PeopleSoft is not using Sendmail anymore and are using java calls to do this now as mentioned in Doc ID 2954172.1

The AE .stdout file shows the following error:

PSAESRV started service request at 16.20.48 2023-09-21

Failure email not sent. (18036,11014)


Environment
---------------
PeopleTools: 8.60.05
Application : FSCM 9.2 PUM Image 44
Windows 2019 Server



Sample replication
----------------

1) Create or choose a PO that has a dispatch method of EML and has a valid email address in the supplier address info.
2) Navigate to Purchasing > Purchase Orders > Dispatch POs.
3) Create the run control.
4) Enter the Business_unit & PO ID.
5) Click E-Mail under Dispatch methods to include.
6) Set Chartfields – Valid.
7) Change orders – Changed and Unchanged Orders.
8) Click Run PODISP – which contains POPO005 & PO_PO_EMAIL.
9) After this process, review the log file of PO_PO_EMAIL.
10) Validate if email was sent or if the java error messages are received.



Changes

Upgrading to PT8.60.xx FSCM 9.2 PUM44.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.