|
I'm using JavaMail to send attachments, but I keep getting an error returned stating that file could not be found. The file I'm trying to attach resides in the root director. I've tried sending the email with the following in the attachment /file.csv and file.csv. Neither of the file are being found. Should the file reside somewhere else other than in the root directory when trying to attach it to an email? Do I need to change the SMTP server configuration on the AS/400 in order to use Javamail?
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.