You'd have to give us a little more information.

Are you squashing exception output with try/catch blocks?
You would see an exception if your app was trying to read a file and
couldn't. 

Are you able to mail from your app without attachments?
Are you sure the file is there?  
If so, have you tried opening up the permissions on the file?
Have you put any kind of logging statements in your code to determine
where it's failing?

Also, a lot of people on this list (and on the other, I assume) will
ignore your question because you've cross-posted it. 




On Tue, 2004-11-23 at 05:34, Kantartzis Vasilis wrote:
> Hello all,
> I am dealing with a problem combining java mail and tomcat that might have to 
> do with read permitions 
> 1.I am trying to add a file in a multipart mesage to construct a mail 
> attachment.
> 2. The file is placed in one of the tomcat webapps applications (file is 
> uploaded there through a form)
> 3. I get no exceptions from tomcat but the e-mail is never send 
> 
> 
> the file is placed as follows 
> webapps--
>         |-filespace-
>                        |
>                      uploads-
>                                 |
>                                 |-fileTosend 
> 
> 
>                       
>               
> i fear that the message is not constructed, because the file is not read.
> does any one else have something to propose 
> 
> please can some-one advice what can i do? 
> 
> thank you 
> Billy Kantartzis 
> 
> IT Specialist
> 
> OTE SA 
> 
> Operational Systems Branch 
> 
> Organisational and Quallity Devision 
> 
> 99 Kifisias Ave 
> 
> 15124,Marousi,
> 
> Athens ,Greece
> 
> Phone +30-210-6117266
> 
> email:[EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to