When Using Mail Attachments with The Oc4j Sendmail Tag, Note The Following Issues:
If you set sendmail.attachment = server in the sendmail.properties file and try to send both a server-side attachment and a client-side attachment, no error message is output. (The sendMail tag, as documented, supports server-side attachments or client-side attachments, but not both for any single application.) The message is sent with the server-side attachment but without the client-side attachment (bug 2496367). If you try to send an attachment when sendmail.attachment = none , no attachment is sent but no error message is output (bug 2474501) You can not attach a symbolic link file;.. this results in an empty file being sent (bug 2452451) Check for updates to the OC4J release notes on OTN for issues with Sendmail attachments.