• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Jakarta Mailer tags attachment problem

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't use the Jakarta Mailer tags so I don't think I can help you with your problem. But one correction: the mailer tags are a set of proprietary custom tags developed under the Jakarta project and are not a part of the standardized JSTL. I have edited your topic accordingly so as not to confuse anyone.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic