Why I can not send correct content in webserver?

hi,All:
I write some to send a email that have attachment, and it look ok when I run it in IDE, but when I run it in the webserver(jetty), I get a email like this:
------=_Part_2_26331059.1232704896093Content-Type: text/plain; charset=us-asciiContent-Transfer-Encoding: 7bit fdsfdsf------=_Part_2_26331059.1232704896093Content-Type: application/octet-stream; name=UK5.PDFContent-Transfer-Encoding: base64Content-Disposition: attachment; filename=UK5.PDFContent-Description: UK5.PDF JVBERi0xLjQKJeLjz9MKNCAwIG9iaiA8PC9GaWx0ZXIvRENURGVjb2RlL1R5cGUvWE9iamVjdC9M
and subject are disappeared.
does anybody can help me?

thank you for your help, I found here have 3 java mail in my classpath, 1.4.1, 1.4.0 and geronimo-javamail_1.4_spec, remove 1.4.0 and geronimo-javamail_1.4_spec, it is ok now.

Similar Messages

  • Why I can not send or receive pictures from my iphone 3G to the iphone 4S of my friend?

    I was trying to send a mms of a picture to a friend and it didn`t work, and he also tried to send me a picture and it failed also. Does anybody know why?

    The outrage is still ongoing, in the mean timeyou can use your browser to check your e-mail.

  • Why I can not send the message to anyone in the USA? My iPhone is 4s and it's t-mobile. Thanks

    I don't know how to work, help me! thanks

    TMobile in the U. S. is not a supported iPhone carrier. Not all iPhone features work as expected. Contact TMobile to make sure your account is properly provisioned.

  • TS3899 In my iPad 2 with IO6 today I can not send emails from my gmail account, they go to the outbox directly...why? How can i solve this problem? ..I restarted the IPad but the problem was not solved. Please help.

    In my iPad 2 with IO6 today I can not send emails from my gmail account, they go to the outbox directly...why? How can i solve this problem? ..I restarted the IPad but the problem was not solved. Please help.

    Greetings,
    Questions:
    1. What version of the Mac OS are you running (Apple > About this Mac)?
    2. What version of the iOS are you running (Settings > About)?
    3. Do you use MobileMe/ iCloud or another server based sync solution like Google or Yahoo?
    4. Do other changes to synced information like Address Book content sync successfully back and forth?
    Based on your description it sounds like you have a 1 way sync issue.  Events sync fine between the iOS devices and fine from the computer to the iOS devices but not from the iOS devices to the computer.
    Try:
    Backup your computer and iOS devices before doing anything else:
    http://support.apple.com/kb/HT1427
    http://support.apple.com/kb/ht1766
    Ensure all the devices in use are fully up to date: Apple > Software Update / Settings > General > Software Update
    Make separate backups of critical data:
    Backup your computer Addressbook: http://docs.info.apple.com/article.html?path=AddressBook/4.0/en/ad961.html
    Backup your computer iCal: http://support.apple.com/kb/HT2966
    Reset syncing on your Mac: http://support.apple.com/kb/TS1627
    Reply back if that does not resolve your issue.
    Hope that helps.

  • HT1430 Hello, email settings correct, can not send emails from the ipad,

    ****, I HAVE ENTERED ALL MY EMAIL SETTINGS CORECTLY INTO MY IPAD FROM MY EMAIL ACCOUNT ON MY PC AND I CANNOT SEND EMAILS FROM IPAD  , WHAT AM I DOING WRONG CAN YOU HELP PLEASE

    it could be one of many reasons, is it giving you a reason why it is not sending emails?
    I know you said everything is the same as your PC email settings, but I would double check, also the iPad will tend to default to IMAP, so if you are using POP3 for your email, you may need to change the settings on the mail server. For example Gmail default to POP3 and needs IMAP turning on.
    What email account are you using? Who is it with?

  • E mail. I can not send email to a contact from my list. When I hit their email address, the new message box comes up but the send icon is not highlighted and I can not send it. Why? How do I fix it. Happens on both I pad Air 2 and I Phone 5

    WWhen I press the email of a contact, the new message box appears with the address but the send icon is not highlighted. Even after typing a message, I can not send it. This is on both I Phone 5 and I Pad Air 2. this just started and not sure what I did. Help please?

    Read this thread, it's a bug that many are experiencing:
    Cannot send emails from contacts

  • Why can I download Gmail to my mac's mail - but I can not send?  I have followed all instructions I can find but it still won't send.  Any thoughts?

    I have a strong desire to use the native apps on my Mac for mail and calendar - but my new position is using Gmail.
    I can send mail and calendar works fine - but I can not send mail.  I have followed all the directions and still can't see to get it to work.
    Is there a step I am missing?  Has anyone else successfully tackled this issue?
    Thanks
    Bill

    Are there any error messages to give us a clue?
    There is no 'issue', millions of people use Gmail with a Mac, they send mail so the 'issue' is with your machine so we'll concentrate on that. Post the SMTP settings that are in use for this account, post the authentication method as well, tell me whether you have activated Google's '2 Factor' authentication method if you have.

  • Why I can't send an email to hotmail?

    why I can't send an email to hotmail?

    Welcome to Apple Support Communities.
    When you encounter an error, first check http://downrightnow.com for the status of most major email services.
    (Hotmail is also known as Windows Live Mail.)
    How long are you waiting to determine whether or not the message was received?
    How soon does the error occur after sending?
    Are you getting an error message from Apple Mail?
    Are you getting an error message reply from Hotmail?
    Can you send an email to any other email address without error?
    Are you certain you have the correct Hotmail destination address?
    Can you send a message to another Hotmail address or does sending fail for all Hotmail addresses?
    Here are helpful hints from downrightnow.com:
    Troubleshooting Tips
    Use these guidelines to help narrow down the cause of a service issue.
    Can you reproduce the problem by repeating the same steps? If not, it may have been a temporary glitch.
    If you're having trouble accessing a certain web site, make sure there isn't a problem with your Internet connection. Can you reach other web sites successfully?
    Does the same issue appear if you use a different device or Internet connection?
    Have you recently changed any settings or installed web browser plug-ins, firewall software, or other upgrades that might be causing trouble?
    If you've ruled out these other possibilities and suspect a problem with Windows Live Hotmail, report it here to spread the word!

  • TS2755 Why I can't send and receive MMS with Redpocket on the 4s,iOS 5.1.1?

    Why I can't send and receive MMS with Redpocket on the 4s,iOS 5.1.1?

    Check Settings>Messages>MMS Messaging and make sure it's set to on. Contact Redpocket and make sure your account is provisioned correctly. However, if Redpocket is not a supported carrier, it is possible that not all functions of the iPhone will work or work as expected.

  • Help required please. "Itunes can not read the contents of my iphone"

    Greetings all,
    I know this question has been asked before and I apologize for asking again but all the solutions provided don't seam to work for me, can anyone help me please.
    I am receving the message: "Itunes can not read the contents of the iPhone. Go to the summary tab In iPhone Preferences and click restore torestore this Iphone to factory settings".
    Now a little about my iphone, Itunes and my laptop and what steps i havealready tried.
    I have an iPhone 4 running software 5.0
    My itunes version is 10.5.0.142
    I know these are not the most up to date versions but I have had this issue for almost 3 months now and updating the software back then was the first step I tried. I don’t believe updating to the latest will fix this issue as updating the last two times did nothing.
    Every so often after starting Itunes, The program will stop responding and will require the three finger death kill (CTRL, ALT, DELETE) to open task manager to end the task of Itunes. Once it shuts down, I restart the iTunes and it runs smoothly, apart from not reading my iPhone.
    When I run a diagnostic in itunes under the help tab, I get these fail messages:
    Network Connectivity test: Secure link to Itunes store fail
    Device connectivity test: Under support services: Itunes helper is not running. And under ports: No iPod, iPhone or iPad found.
    Device Sync test: No iPod touch, iPhone or iPad found.
    *See below for full diagnostic report*
    I have restored back to factory settings twice.
    I have shut down and restarted both my iPhone and laptop.
    I am running Windows 7 32-bit on my laptop.
    I am using ZoneAlarm as my fire wall, and have been disabling it when syncing my iPhone to prevent other error messages.
    The iPhone is plugged into a genuine Iphone USB cable and is plugged into a USB port not a USB hub on my laptop, I have tried plugging it into all 4 USB ports and this issue still persist. The Cable is less then 5 months old, is not frayed or damaged in any way, have also borrowed 2 other cables from friends and still the same issue.
    The iPhone does not even come up in windows explorer as a digital camera.
    The iPhone is NOT jailbroken
    I do not live close to a so called genius bar, however I have made the journey to them on 3 separate occasions last year when I first received my iPhone for a different issue, the so called genius's could not fix the problem so they just gave me a new (refurbished) iPhone, which did not extend my warranty. I will not be taking the iPhone back to them as I believe they can not resolve many issues, this is why I am reaching out to the power of the people in the wider apple community.
    I have read in other forums about ifunbox and other programs for jail broken iPhones to isolate folders “iTunesDB” and "iTunesCDB" and delete them. If this is the issue is there a way to access these files through windows explorer as my iphone is not jailbroken.
    I hope I have provided enough information and someone can help me fix this issue. If I have left anything out, please let me know. I thank everyone in advance for your patience and support.
    Thanks
    Hoggie27
    FULL DIAGNOSITC REPORT
    Microsoft Windows 7 Home Premium Edition Service Pack 1 (Build 7601)
    Hewlett-Packard HP Pavilion dv6 Notebook PC
    iTunes 10.5.0.142
    QuickTime not available
    FairPlay 1.13.35
    Apple Application Support 2.1.5
    iPod Updater Library 10.0d2
    CD Driver 2.2.0.1
    CD Driver DLL 2.1.1.1
    Apple Mobile Device 4.0.0.96
    Apple Mobile Device Driver 1.57.0.0
    Bonjour 3.0.0.10 (333.10)
    Gracenote SDK 1.9.3.494
    Gracenote MusicID 1.9.3.106
    Gracenote Submit 1.9.3.136
    Gracenote DSP 1.9.3.44
    iTunes Serial Number 001BAD14XXXXEA78
    Current user is an administrator.
    The current local date and time is 2011-11-16 10:04:53.
    iTunes is not running in safe mode.
    WebKit accelerated compositing is enabled.
    HDCP is supported.
    Core Media is supported.
    Video Display Information
    NVIDIA, NVIDIA GeForce GT 230M 
    **** External Plug-ins Information ****
    No external plug-ins installed.
    The drive H: Vodafone  USB SCSI CD-ROM Rev  USB is a USB 1 device.
    **** Network Connectivity Tests ****
    Network Adapter Information
    Adapter Name:    {97524DB0-B9DC-41DB-8AFA-0CE6938F7C95}
    Description:    PC
    IP Address:    (HAS BEEN REMOVED FOR PERSONAL REASONS)
    Subnet Mask:    255.255.255.255
    Default Gateway:    0.0.0.0
    DHCP Enabled:    No
    DHCP Server:   
    Lease Obtained:    Thu Jan 01 11:00:00 1970
    Lease Expires:    Thu Jan 01 11:00:00 1970
    DNS Servers:    10.143.147.147
            10.143.147.148
    Adapter Name:    {BFF0456E-DE42-4FEF-B1FA-1EA1C5EDEE42}
    Description:    Vodafone Mobile Broadband Network Adapter (ZTE)
    IP Address:    0.0.0.0
    Subnet Mask:    0.0.0.0
    Default Gateway:    0.0.0.0
    DHCP Enabled:    No
    DHCP Server:   
    Lease Obtained:    Thu Jan 01 11:00:00 1970
    Lease Expires:    Thu Jan 01 11:00:00 1970
    DNS Servers:   
    Adapter Name:    {D5511FFD-0CA8-4F62-B3CA-E90384FFCD03}
    Description:    Broadcom 43225 802.11b/g/n
    IP Address:    0.0.0.0
    Subnet Mask:    0.0.0.0
    Default Gateway:    0.0.0.0
    DHCP Enabled:    Yes
    DHCP Server:   
    Lease Obtained:    Thu Jan 01 11:00:00 1970
    Lease Expires:    Thu Jan 01 11:00:00 1970
    DNS Servers:   
    Active Connection:    PC
    Connected:    Yes
    Online:        Yes
    Using Modem:    Yes
    Using LAN:    No
    Using Proxy:    No
    SSL 3.0 Support:    Enabled
    TLS 1.0 Support:    Enabled
    Firewall Information
    Windows Firewall is on.
    iTunes is NOT enabled in Windows Firewall.
    ZoneAlarm Firewall is installed.
    Connection attempt to Apple web site was successful.
    Connection attempt to browsing iTunes Store was successful.
    Connection attempt to purchasing from iTunes Store was successful.
    Connection attempt to iPhone activation server was successful.
    Connection attempt to firmware update server was unsuccessful.
    The network connection timed out.
    Connection attempt to Gracenote server was successful.
    Last successful iTunes Store access was 2011-11-16 09:59:57.
    **** CD/DVD Drive Tests ****
    LowerFilters: Afc (1.0.0.2),
    UpperFilters: GEARAspiWDM (2.2.0.1),
    F: hp CDDVDW TS-L633N, Rev 0300
    Drive is empty.
    **** Device Connectivity Tests ****
    iPodService 10.5.0.142 is currently running.
    iTunesHelper is currently not running.
    Apple Mobile Device service 3.3.0.0 is currently running.
    Universal Serial Bus Controllers:
    Intel(R) 5 Series/3400 Series Chipset Family USB Enhanced Host Controller - 3B34.  Device is working properly.
    Intel(R) 5 Series/3400 Series Chipset Family USB Enhanced Host Controller - 3B3C.  Device is working properly.
    FireWire (IEEE 1394) Host Controllers:
    1394 OHCI Compliant Host Controller.  Device is working properly.
    Most Recent Devices Not Currently Connected:
    iPhone 4 (GSM) running firmware version 5.0
    Serial Number:    85107XQLA4S
    **** Device Sync Tests ****
    No iPod, iPhone, or iPad found.
    < Edited By Host >

    Hi AM_Kidd.
    Thanks for your reply.
    I have done a complete uninstall and re install of iTunes and all related apple programs from my laptop through control panel, add remove programs and also by going through program files and deleting all tracers of any left over folders remove programs may have missed.
    My apologies for forgetting to add this in my original post.
    Thanks again

  • Can not send photos by email using iphoto

    hello ...I can not send any photos using iphoto as i have changed my email address,  I can not change it on the email ..as a box comes up saying ...Email server did'nt recognize user name/password.  ??? where do I change  my old Email to my new one  it is getting very frustrating,   please help  Marie

    Not sure what you tried but the starting point would be:
    Mail>Preferences>Accounts tab>Click on the + sign to add an account. From the first screen you are presented with, providing the email address and password you enter is correct, Mail will try and auto configure your account. If it can't do it on its own you'll need to input extra information from your ISP - pop or imap server address, smtp server address, authentication info, etc.
    Once the email account is up and running, to directly email from iPhoto go to iPhoto>Preferences>General tab and select Mail from the drop down menu against 'Email photos using...'.
    To email a photo from within iPhoto '11, select a photo, click on the 'share' button, bottom right of the screen and select 'email'.

  • For some reason yesterday and today I can not send mail using the icloud website and help?

    From some reason I can not send emails using the icloud website.  Not sure why any help

    Hi there tamarafromdarien,
    You may find the troubleshooting steps for iCloud Mail in the article below helpful.
    iCloud: Troubleshooting iCloud Mail
    If you can't send mail in OS X Mail
    If you receive this alert or a similar alert when sending a message from your iCloud email address in OS X Mail:
    “This message could not be delivered and will remain in your Outbox until it can be delivered. The reason for the failure is: An error occurred while delivering this message via the smtp server: server name.”
    In OS X Mail, choose Preferences from the Mail menu.
    Click Accounts in the Preferences window.
    Select your iCloud account from the list of accounts.
    Click the Account Information tab.
    Choose your iCloud account from the Outgoing Mail Server (SMTP) pop-up menu. Example: “Derrick Parker (iCloud)”.
    Note: The Outgoing Mail Server (SMTP) menu also includes an Edit SMTP Server List command. If you choose this command, be aware that the iCloud SMTP server won't be among the servers that can be edited. This is normal.
    If you're attaching a large file
    Message attachments can't exceed the maximum size allowed by your email service provider or the recipient's email service provider. The maximum size varies by service provider. Try compressing the filebefore sending it, or send your message without the attachment to verify that there are no issues with sending.
    -Griff W.  

  • Can not send e-mail in mac os x 10.4.11

    can not send e-mail in mac os x 10.4.11

    non sequitur wrote:
    I'm not sure I know what you mean by 'what settings are you using in the accounts part of mail preferences', but I'll give you as much information as I can in the hopes that some of it is responsive.
    In "preferences" I select "accounts" and there are 3 listed:
    'personal gmail' (IMAP)
    'business gmail' (IMAP)
    'Yahoo' (POP)
    For each of the above, the "Account Information" tab gives:
    description: [username]
    email address: [correctly reflects my address]
    full name: [my name]
    Incoming mail server: imap.gmail.com
    user name: [my username]
    password: [*** - I've re-entered to ensure it is my true password]
    outgoing mail server (SMTP): smtp.gmail.com:username
    Is it all in the same format on the iphone?
    This is the same information for the 2 gmail accounts, with the exception of the usernames differing. If I click "server settings" at the bottom, it reflects the outgoing mail server "smtp.gmail.com" server port 25, my correct user name and password.
    Again, different names for the different accounts, right? And this is the same port etc. as you put into the iphone
    All of the above information matches what I input into my iPhone, and it has worked fine since day 1, so I don't understand the malfunction.
    Open /Applications/Utilities/Console. Make sure console.log and system.log are open (or see the File menu).
    Try to send an email.
    Look for new lines in the log files (it should scroll down automatically so the newest lines are at the end of the log at the bottom of the window). What do you see? (Erase or substitute for any personal info before posting.)
    Do you use any firewall software or have you used third-party software or Terminal to configure the builtin firewall?
    - cfr

  • TS3276 I can login perfectly to my hotmail account but can not see the contents.  What is wrong?

    I have more than one mail account.  All of them are working except hotmail.  Everything seems to be logged correctly.  Even checked with "connection doctor".  I can not see the contents of the hotmail account.  What could be wrong?

    When you read the ebooks on your iPad (with you logged in using your Acrobat account), did you explicitly save those files to Acrobat.com? Are you able to access those same files in browser?

  • Can not send or receive email

    Can not send or receive email

    What happens when you try to send or receive? Is there any error message?
    How do you connect to the Internet?
    Do other Internet services - such as the Web - work correctly?
    Who is your email service provider?
    Has it ever worked? If so, when did it stop? Were any changes made around that time?
    Best of luck.

Maybe you are looking for