• Introducing Dark Mode! Switch by clicking on the lightbulb icon next to Search or by clicking on Default style at the bottom left of the page!

SendMail Error - The specified file or directory does not exist in Create!Form 8.0

Hi Team,

We are getting below error while using create!email in CF 8.0. Can you please suggest any options to resolve it. We have added the CF server to email exchange server.(We can eliminate this)

SendMail Error - The specified file or directory does not exist



Thanks,
Sai
 

KSwaeby

Reputable Poster
Is there a .tmp file that gets left in the spool folder? Open it with NotePad and see if the job is configured to get a file from a location that either the file or folder does not exist.
 
It is not leaving from spool folder, I am seeing below details in .tmp file


%cpEmailBegin
%cpEmail:-TOConcurSupport@landolakes.com
%cpEmail:-FROMrmtuhy@landolakes.com
%cpEmail:-SFeed R04110Z
%cpEmail:-THISFD_R04110Z.PDF
%cpEmailEnd
%PDF-1.4
%âãÏÓ
1 0 obj
<<
/Type /Catalog
/Pages 2 0 R
>>
endobj
2 0 obj
<<
/Type /Pages
/Kids [ 8 0 R ]
/Count 1
>>
endobj
3 0 obj
<<
/ModDate (D:20200421081640)
/DLI (2.2.55)
/OneWorldRelease (B7333)
/CreationDate (D:20200421081437)
/Platform (aix)
/DLI_Copyright (Datalogics Interface \(DLI\) Copyright \(C\) 1998-2003 Datalogics, Inc. \
-- www.datalogics.com)
/Name (R04110Z)
/Version (LOL0002)
/Author (JDETECH)
/BatchCreationDate (2020/4/21 8:14:37)
/OWEnvironment (PD7333)
/Machine (fdjdapp2)
/Host (fdjdapp2)
/Printer (DEFAULT)
/PDL#20Program (*JDE PCL)
/DecimalSepChar (.)
/ThousandsSepChar (,)
/Language (English)
/DateFormat (OAR)
/NumberOfCopies (1)
/DateSepChar (/)
/Title (Voucher Batch Processor)
/Subject (Voucher Batch Processor)
/Producer (J.D.Edwards OneWorld \(B7333\))
/Creator (Land O'Lakes)
/Keywords (R04110Z, LOL0002, fdjdapp2, PD7333, DEFAULT)
/JobNumber (715419)
/FileName (/pvendorq01/jdedwards/b7333/PrintQueue/R04110Z_LOL0002_715419_PDF)
/SystemInfo (fromOS 3 fromCP 1252 toOS 0 toCP 1252)
/PageSize (VertSize 12240 HorzSize 15840, pageOrient 2)
/PageInfo (lpi 205, cpi 38 DCFontSz 70)
/Sect_0 (SN=Page Header;TP=PH;BV=None;SI=6;PI=0)
/Ctrl_0_0 (CN=Company Description; CI=9; SI=6; TP=RV; DT=S; AL=Description001; FS=3\
0)
/Ctrl_1_0 (CN=R04110Z; CI=1; SI=6; TP=RC; DT=S; AL=RptConstObj; FS=7)
/Ctrl_2_0 (CN=; CI=23; SI=6; TP=PG; DT=S; AL=ReportPageNumber; FS=4)
/Ctrl_3_0 (CN=Page -; CI=22; SI=6; TP=RC; DT=S; AL=ReportPageNumber; FS=6)
/Ctrl_4_0 (CN=Voucher Batch Processor - FINA; CI=18; SI=6; TP=RC; DT=S; AL=RptConst\
Obj; FS=31)
/Ctrl_5_0 (CN=Voucher Batch Processor - PROO; CI=17; SI=6; TP=RC; DT=S; AL=RptConst\
Obj; FS=31)
/Ctrl_6_0 (CN=; CI=20; SI=6; TP=SD; DT=S; AL=SystemDate; FS=8)
/Ctrl_7_0 (CN=; CI=21; SI=6; TP=ST; DT=S; AL=SystemTime; FS=8)
/Sect_1 (SN=Totals ;TP=GRP|CD;BV=None;SI=8;PI=0)
/Ctrl_0_1 (CN=Transactions Updated F0411-glo; CI=5; SI=8; TP=RV; DT=N; AL=Integer01\
; FS=6)
/Ctrl_1_1 (CN=Transactions; CI=4; SI=8; TP=RC; DT=S; AL=Integer01; FS=12)
/Ctrl_2_1 (CN=Updates; CI=2; SI=8; TP=RC; DT=S; AL=RptConstObj; FS=7)
/Ctrl_3_1 (CN=F0411:; CI=1; SI=8; TP=RC; DT=S; AL=RptConstObj; FS=6)
/Ctrl_4_1 (CN=Total Records F0411 - global ; CI=35; SI=8; TP=RV; DT=N; AL=Integer01\
; FS=6)
/Ctrl_5_1 (CN=Records; CI=34; SI=8; TP=RC; DT=S; AL=Integer01; FS=7)
/Ctrl_6_1 (CN=F0411Z1:; CI=12; SI=8; TP=RC; DT=S; AL=RptConstObj; FS=8)
/Ctrl_7_1 (CN=Errors; CI=13; SI=8; TP=RC; DT=S; AL=RptConstObj; FS=6)
/Ctrl_8_1 (CN=Transactions Errors F0411z1-gl; CI=9; SI=8; TP=RV; DT=N; AL=Integer01\
; FS=6)
/Ctrl_9_1 (CN=Transactions ; CI=8; SI=8; TP=RC; DT=S; AL=Integer01; FS=13)
/Ctrl_10_1 (CN=Records Updated F0411 - global; CI=56; SI=8; TP=RV; DT=N; AL=Integer0\
1; FS=4)
/Ctrl_11_1 (CN=Total amount errors F0411z1-gl; CI=31; SI=8; TP=RV; DT=N; AL=MathNume\
ric01; FS=15)
/Ctrl_12_1 (CN=Transactions Updated F0411-glo; CI=23; SI=8; TP=RV; DT=N; AL=Integer0\
1; FS=4)
/Ctrl_13_1 (CN=Transaction updated F0911 - gl; CI=47; SI=8; TP=RV; DT=N; AL=Integer0\
1; FS=6)
/Ctrl_14_1 (CN=Transactions ; CI=46; SI=8; TP=RC; DT=S; AL=Integer01; FS=13)
/Ctrl_15_1 (CN=Updates; CI=21; SI=8; TP=RC; DT=S; AL=RptConstObj; FS=7)
/Ctrl_16_1 (CN=F0911:; CI=32; SI=8; TP=RC; DT=S; AL=RptConstObj; FS=6)
/Ctrl_17_1 (CN=Records Updated F0911 - global; CI=59; SI=8; TP=RV; DT=N; AL=Integer0\
1; FS=4)
/Ctrl_18_1 (CN=Total Records F0911 - global ; CI=37; SI=8; TP=RV; DT=N; AL=Integer01\
; FS=6)
/Ctrl_19_1 (CN=Records; CI=36; SI=8; TP=RC; DT=S; AL=Integer01; FS=7)
)
/


Thanks,
Sai
 

KSwaeby

Reputable Poster
The header in your file has the wrong format. It should have;

%PDF-1.0
%[CPOW]

before the %cpEmailBegin line and %[EndCPOW] after the %cpEmailEnd line. It should look like this;

%PDF-1.0
%[CPOW]
%cpEmailBegin
%cpEmail:-TOConcurSupport@landolakes.com
%cpEmail:-FROMrmtuhy@landolakes.com
%cpEmail:-SFeed R04110Z
%cpEmail:-THISFD_R04110Z.PDF
%cpEmailEnd
%[EndCPOW]

The %PDF-1.4 line is where the JDE PDF data starts.

Where are you seeing the "SendMail Error - The specified file or directory does not exist" error? Is that in the .log file from CemailServer?

Not sure what "We have added the CF server to email exchange server" means. If you remove that does CemailServer function correctly?


Karen.
 
Yes, I am seeing it in Email server log file. "We have added the CF server to email exchange server" : We have added the Create form installed server IP to exchange server receiver list.

Yes, we have below setup for other .jtt , however we are getting same error for this report as well.

%PDF-1.0
%[CPOW]
%cpOrigStream:R03B5001_ZJDE0001
%System=
%Type=
%PrintQueue=
%PDFfile=
%PDFfileName=R43500_XJDE0001_D1010819_T084946113
%PDFsave=
%cpEmailBegin
%cpEmail:-TOnkogalla@landolakes.com
%cpEmail:-FROMnkogalla@landolakes.com
%cpEmail:-STesting Create!email
%cpEmail:-THISNew World Invoice Sample.pdf
%cpEmail:-BODYThis is a test email from Create!email Server. Installation has been completed correctly.
%cpEmailEnd
%[EndCPOW]
%PDF-1.3
%âãÏÓ



Thanks,
Sai
 

KSwaeby

Reputable Poster
So you have other jobs configured to email and they process correctly? If yes, that is odd.

Can you add the server name to exchange server receiver list instead of the server IP? Does that make a difference?

In Windows Services are CfService and CfMessage running as Local System or do you have then running as something else?

Another option is to try putting a Windows Identity in CemailServer to connect properly to the Exchange server.
 
Top