It's not a secret anymore!*
The moose likes Java in General and the fly likes java mail:send data from text box and attachment file from jsp page to mail. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "java mail:send data from text box and attachment file from jsp page to mail." Watch "java mail:send data from text box and attachment file from jsp page to mail." New topic
Author

java mail:send data from text box and attachment file from jsp page to mail.

sangram panda
Greenhorn

Joined: Jan 19, 2011
Posts: 1



I was run this code .
It was running successfully..
the attached file was sent to the mail.
but my texbox field ar sent to mail but it will display null value.

please help me regarding this.





[/code]
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38087
    
  22
Welcome to the Ranch

I think this thread would sit better on another forum, so I shall move it.
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

Here's a tip for debugging: if you have code which does two things, debug them separately. Otherwise you won't know whether the problem is in Part 1 or in Part 2. Which I assume you don't.

Also you're complaining about a "text box". I don't see anything about a text box in that code. A description of that would be helpful.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java mail:send data from text box and attachment file from jsp page to mail.
 
Similar Threads
How to store a particular data into project file
how to upload pdf files to My sql with java
Sending file as an attachment
how to upload files to My sql with jsp
Client Issue