Forums Register Login

File Attachemnt Using javax Activation

+Pie Number of slices to send: Send
I have code that uses jMail to send email messages with attachments.

But after I move the files that need to be attached from a local directory to a file share I get a message that file cannot be found.

[10/6/16 23:18:50:646 CDT] 0000001d SystemOut     O SendEmailMessageJMail: atFile: //sgai-fs02/qmsattachments$/QMSAttachments/Temp/NCR_Dispositioned_7514121.pdf
[10/6/16 23:18:50:731 CDT] 0000001d SystemOut     O FAIWebApp: setSendEmailMessageJMailV6: 3: javax.mail.MessagingException: IOException while sending message;
 nested exception is:
java.io.FileNotFoundException: /sgai-fs02/qmsattachments$/QMSAttachments/Temp/NCR_Dispositioned_7514121.pdf (A file or directory in the path name does not exist.)


Now what is  strange this all works while running in localhost but not in the production app server.

Do I need to use some form of Smb?
What's gotten into you? Could it be this tiny ad?
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 244 times.
Similar Threads
Portal Server v6.0 Initialization Problem
ReplaceAll Using a Variable is Throwing Error
Urgent!! Please Help Java Mail & WAS problem
struts2.0 example console message
Commons Digester --- java.lang. No Such Method Exception
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 03:38:56.