Hello:
I have just downloaded the Jakarta Mailer-1.1 and installed on my PC. Following the documentation of Jakarta.org, I tested the following code to send an email with attachment file :
<mt:mail server="EML" to="absc@mycompany.com"
from="solutions@mycompany.com" subject="mail test">
<mt:message>
test test attachemnt</mt:message>
<mt:attach file="portfoliodocs/ProdBrochure.pdf" />
<mt:send/>
</mt:mail>
The problem is that I received this email immediately but no attachment included. I tried different email address, still can not get the attachment, just the email.
The file path is relative to the root of web server (tomcat/webapps/apptest/portfoliodocs/...). I did not get any error message running this code. I am using
Tomcat 4-1-30.
Any help is greatly apprciated.
[ June 03, 2004: Message edited by: Bear Bibeault ]