aspose file tools*
The moose likes Servlets and the fly likes Email problem when sending attachments Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Email problem when sending attachments" Watch "Email problem when sending attachments" New topic
Author

Email problem when sending attachments

Ezra Exposito
Ranch Hand

Joined: Apr 26, 2001
Posts: 34
This is the code I use to send emails:

Sometimes the text I use for the body causes the
contents of the attached file to be appended to the body instead of attached as a separate file.
I send the emails to an Outlook account and noticed that there is "<end>" appended to the body when it works correctly which I did not place there.
Any help would be greatly appreciated ...
Thanks,
Ezra
Ezra Exposito
Ranch Hand

Joined: Apr 26, 2001
Posts: 34
I figured out what the problem was. I was adding
multi-line text to the subject instead of the body. This caused it to do strange things.
Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Email problem when sending attachments