Improper rendering of forwarded message in Outlook Express

I am not able to view forwarded mail (not properly rendered) in Outlook
Express although in Microsoft Outlook, it views fine. The forwarded
message is not shown as an email message but instead as a file
attachment which can be saved to file. Any pointers to why Outlook
Express renders it like that?
I have copied below the code and the message.
The following code is being used to create the forwarded message:
String subject = oldMsg.getSubject(); //oldMsg is the MimeMessage to be forwarded.
MimeMultipart mp = new MimeMultipart();
MimeBodyPart bp = new MimeBodyPart();
bp.setContent( "", "text/plain" );
mp.addBodyPart( bp );
MimeMessage msg = new MimeMessage( mailSession );
msg.setFrom( from );
MimeBodyPart bp = new MimeBodyPart();
bp.setContent( oldMsg, "message/rfc822" );
bp.setFileName( "forward.cpm" );
mp.addBodyPart( bp );
msg.setContent( mp ); // add Multipart
msg.saveChanges(); // generate appropriate headers
The message is getting created as follows:
X-Message-Info: dHZMQeBBv44lPE7o4B5bAg==
Date: Mon, 03 Feb 2003 03:09:34 -0700 (MST)
From: Harry Potter <[email protected]>
Subject: Fwd: Testing
To: <[email protected]>
MIME-version: 1.0
Content-type: multipart/mixed; boundary="Boundary_(ID_pNopV8f7QdWLCYzK1WJbdg)"
X-OriginalArrivalTime: 03 Feb 2003 10:07:10.0684 (UTC) FILETIME=[042E39C0:01C2CB6C]
--Boundary_(ID_pNopV8f7QdWLCYzK1WJbdg)
Content-type: text/plain
Content-transfer-encoding: 7BIT
Harry Potter wrote:
Testing--Boundary_(ID_pNopV8f7QdWLCYzK1WJbdg)
Content-type: message/rfc822; name=forward.cpm
Date: Mon, 03 Feb 2003 03:08:13 -0700 (MST)
From: Harry Potter <[email protected]>
Subject: Testing
To: Harry Potter <[email protected]>
MIME-version: 1.0
Content-type: multipart/mixed; boundary="Boundary_(ID_5ty0zdftzZazrM1I5lvWNQ)"
--Boundary_(ID_5ty0zdftzZazrM1I5lvWNQ)
Content-type: text/plain
Content-transfer-encoding: 7BIT
Testing
--Boundary_(ID_5ty0zdftzZazrM1I5lvWNQ)
Content-type: application/msword; name=MimeMessageInterpretation.doc
Content-transfer-encoding: base64
Content-disposition: attachment; filename=MimeMessageInterpretation.doc
0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAPgADAP7/CQAGAAAAAAAAAAAAAAABAAAAFQAAAAAA
AAAAEAAAFgAAAAEAAAD+////AAAAABQAAAD/////////////////////////////////////
////////////////AAAMEAAAAgAAAB4AAAArAAAAUHJlc2VudGF0aW9uIG9mIFZhcmlvdXMg
TWVzc2FnZSBNaW1lIFR5cGVzAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
Boundary_(ID_5ty0zdftzZazrM1I5lvWNQ)
Boundary_(ID_pNopV8f7QdWLCYzK1WJbdg)

Guru,
I am trying to run sample javamail program msgshow.java
with these parameters
-T imap -H <host> -U <user> -P <pwd>
and I get an exception
javax.mail.AuthenticationFailedException: There is no such mailbox on this server
     boolean com.sun.mail.imap.IMAPStore.protocolConnect(java.lang.String, int, java.lang.String, java.lang.String)
     void javax.mail.Service.connect(java.lang.String, int, java.lang.String, java.lang.String)
     void msgshow.main(java.lang.String[])
My question is
1. Where can I find host name for reading email from Microsoft Exchange server?
2. Could you give me an example of such a server?
Thanks a lot in advance.

Similar Messages

  • Cannot receive message in Outlook Express

    I recently (for the first time) accessed my ISP's e-mail service. Since then I have been unable to receive messages in Outlook Express although I can send them. When I check for new messages I do get a connection but no new messages. Some of my messages are diverting to my ISP provider's e.mail service. I have checked all my account settings etc for OE and they look fine. It was all working perfectly before. Any ideas, help would be appreciated.

    Hi to all
    Well, the Outlook express is a part of the Windows OS and if you want to reinstall it you need an original Microsoft Windows CD. The delivered Toshiba recovery CD proffers only the whole OS image. In this case its not possible to install only the Outlook Express. You have to recover the whole OS.
    I know its not the optimal solution. You can try to use the system restore tool. Then you can roll back the OS to the early point.
    But if it doesnt help, the recovery procedure is the last chance.

  • Displaying Forwarded Messages in Messenger Express

    One of my users noted that when they forward a message that was sent to multiple recipients, the forwarded message, as displayed in Messenger Express, suppresses the display of the list of users that the original message went to. I've tested this by forwarding a message that originally went to multiple recipients to myself. I would then view the message in Messenger Express and in a standard IMAP client. The IMAP client DOES display the list of original recipients, but Messenger Express only displays the original message.
    I've looked through the user "Options" section in Messenger Express and see no setting to modify this behavior. I've also logged into Delegated Admin as the user to see if there were options there, but found nothing. And, finally, I logged into Delegated Admin as the administrative user and checked the global settings for the domain, but again found no option to prevent this suppression. Has anyone else run into this?

    First of all, my name is Dan, and I'm working with Mark on this problem.
    Secondly, I'll concede a semantic point that the headers aren't mangled, technically speaking...they have been completely dismembered from the message. You are correct in stating that they are not there. Semantic points aside, the problem remains.
    It's obvious that webmail can show headers for a single forwarded message, because the headers show up the first time a message is forwarded...so its not that webmail doesn't know how to display any headers...it just ignores headers for nested forwarded or replied messages.
    The reason this is a bug is because the header information is actually there...in other words, if you look at the very same message with any fat client (such as Eudora, Mozilla, Outlook, etc.) all of the header information is intact. It's only when viewing the message through webmail that the header information is ignored (on all but the first of the multi-part MIME parts).
    By any definition, this is a bug in how webmail is rendering message data that is actually intact. The case should never have been closed in the first place, and the RFE should never have been created because the request was not for a feature enhancement. This is a bug, and it needs a fix.

  • Probelms printing email messages in Outlook Express

    After an automatic Firefox update I can no longer print the message part for Outlook Express 6 email. Only the header (e.g. To/From) prints. I have an HP Office Jet all-in-one printer. I updated my Firefox version and the problem remained.

    You might try looking/posting here.
    Microsoft Support – Office for Mac
    Microsoft Support – Office for Mac (2)

  • Importing messages from Outlook Express on a PC to Mail

    I just spent a long time looking through posts to find a way to do this, and still had difficulties, until finding this link:
    http://www.macosxhints.com/article.php?story=20040325164915651
    on one of the posts.
    Actually it is simpler than described on that link, presumably because it's a couple of years old and the software has improved.
    All you need to do now is Copy-Paste all the emails from each OE folder into a new folder you create on your desktop (OE lets you do this. So you make an Inbox folder, Sent folder, etc). Copy those folders over from PC to Mac (eg using a Fat32 formatted external drive) , then drag & drop those files one folder at a time into a Subfolder that you create in Entourage. (ie you make a new Inbox, Sent etc subfolder) Then Mail will import these folders from Entourage by itself using Import.
    You need to have Entourage (part of Office) to do this.
    cheers

    Since you have a new Mac, you can create a .Mac trial account for free which is good for 60 days I believe.
    A .Mac type account with Apple's Mail application is really an IMAP account and behaves in the same way.
    When creating a .Mac account with the Mail.app, the default account type provided is .Mac but you can also select IMAP or POP as the account type.
    You can create a .Mac account as an IMAP or POP account with a different email client on a Mac or Windows PC.
    After creating your .Mac trial account as a .Mac or IMAP account with Mail on your Mac, you can create the account as an IMAP account with Outlook Express on your Windows PC.
    After doing so, copy messages from the POP account's Inbox mailbox to .Mac account's Inbox mailbox and the same for the POP account's Sent mailbox to your .Mac account's Sent mailbox.
    Launch Mail on your Mac and these messages will be available in your .Mac account's Inbox mailbox and Sent mailbox.
    Create two "On My Mac" location mailboxes in Mail - one for transferred Inbox messages and one for the transferred Sent messages.
    Transfer these messages from your .Mac account's Inbox mailbox and Sent mailbox to the appropriate user created "On My Mac" mailboxes which are stored locally on the hard drive. This process will save the transferred messages locally on the hard drive and remove the messages from the server at the same time.
    A .Mac trail account has limited server storage space so if the Inbox mailbox and Sent mailbox for this POP account in OE on your PC exceeds the server storage limit for a .Mac trail account, you must do this in stages and although this may sound involved, it really isn't and overall is probably the easiest and fastest way to do so.

  • Exporting Messages from Outlook Express

    Can anyone advise how to export my messages from OE in a comma separated values file (csv)? Alternatively, I could work with a tab delimited file if someone can help with this.
    I'm using OE 5.0.6 with OS 9.2.2.
    Many thx!
    G3 Tower   Mac OS 9.2.x  

    Jeff,
    Welcome to discussions.
    If you can help us by telling us what you plan to do with the messages, we may be able to provide some suggestions. Tab-delimited and CSV is a pretty dodgy format for email content. There are a host of other email applications (many free) that are only too willing to read all your mail from OE and import it into their mail database. They may then have some output options, ie. XML, which I think is 1,000,000x more preferable than CSV.
    Are you planning to import the email into some FileMaker / AppleWorks or HyperCard database ?
    I've had to do this more than a few times, from MS Mail (Win 3.1) to OE (OS8) to Lotus Notes (WinNT) to OE (OS9) to Outlook (W2K) to Entourage (OSX), and back again, sometimes. I've tried all the other options available to me, ie. OSX Mail as an intermediate step for some tricky conversions.
    Any info you can provide about what you want to achieve will help.

  • Outlook Express Disk is Full

    Periodically I get an error message in Outlook Express that says I can't download mail because the disk is full. I've cleaned out all the old email, but I still can download mail. Is there any way to increase the size of the space for outlook express? Any other solutions I should try?
    Thanks!

    Quit all your Microsoft Applications.
    Hold down the OPTION key as you launch OE.
    Compact the database. Once completed, throw out the files prefixed with "old" in the MS Users folder.
    try that.
    Zap the PRAM on reboot as well.

  • Outlook Express 5.0.6 problem

    I use this version on my G5 desktop and G3 laptop. The laptop is for trips. When I get home, I use a USB memory stick to carry messages received during the trip to my G5. This worked well for me for years when my desktop was a G4 using OS9. But it doesn't work w/ the G5 using Panther and the Classic environment. It does not recognize the messages as Outlook Express, instead uses another application that opens them but not as e-mail. If I force the G5 to use Outlook Express to open the message, the message is blank.
    I need to save these messages in the appropriate Outlook Express folders I have set up and used for years. If anyone can help, it would be much appreciated!
    G5   Mac OS X (10.3.9)  

    Hi, rays -
    Welcome to Apple's Discussions.
    First, increase the Preferred memory allocation for Outlook Express if you have not already done so. Adding 20 or 30 thousand, or even more, to the original Preferred amount is not excessive.
    Article #18278 - Assigning More Memory to an Application
    Then try compacting the databases (the email and other archives OE uses). To do that, with OE not running, hold down the Option key and start up OE. A screen will appear asking if you want to compact the database files - click okay, and follow the prompts.

  • How do outlook express repair?

    Today I've seen my Outlook Express 6 inbox is empty. What to do next. I want to get my messages back.

    Outlook Express Repair Toolbox can:
    > Restore information from *. DBX files for Outlook Express 5, 5.5, 6
    > Microsoft Outlook Express 2GB repair: Restore messages from files larger than 2GB
    > Repair mail in various formats: plain text, RTF and HTML
    Source:
    http://www.outlookexpress.repairtoolbox.com/

  • Problems with receiving signed message in outlook

    Hello
    I have a problem with signing message using Javamail. I use a sample program code that I got from some tutorial - it seems to work fine but when I receive the message using outlook express there are fallowing warnings:
    - the message has been changed by untrusted people
    - the e-mail address from the certificete:... (here ma address) doesn't match the address of the sender:... (here no adress)
    I set all the varables: 'sender', 'replyTo', 'return-path' and 'from' with my address used in the certificate. I don't know why there is no address after the word: sender. Maybe some of you had such a problem, solved it and could share with me what is wrong with my message?
    ania

    Hi
    It's me again. I solved the problem.
    The first warning was because I changed the message after signing it, before sending :), and the second (that was worse) was because I was setting up all possible fields: sender, from, reply to and return-path - only sender should be set - now everything works great :)
    ania

  • Sync error message about mail client - using Outlook Express, wants Outlook

    I keep getting a message that "Either there is no default mail client or the current mail client cannot fulfill the messaging request. Please run Microsoft Outlook and set it as the default mail client"
    Outlook Express IS set as my default mail client, both on my computer and on the iTunes screen.
    I use Calendar on the iPhone, but do not have sync requested on iTunes for this function.
    I do have Outlook on my computer, but do not use it (don't need calendar function at home, but do like to have it on my iPhone since I carry it with me)

    I'm having a similar problem. "Either there is no default mail client or the current mail client cannot fulfill the messaging request. Please run Microsoft Office Outlook and set it as the default mail client." (iTunes 7.6.1.9)
    I sync my contacts with Yahoo! (not Outlook).
    I was syncing my calendar with Outlook. This was working just fine, but when I started to get the error above, I have tried turning off the calendar sync. No help there.
    I am not syncing any email accounts via iTunes.
    Anyone have any suggestions? Given that I'm not syncing with Outlook I don't understand the error. Thunderbird is my default mail client and I shouldn't have to change the system defaults to work around this bug.

  • When I click on an email link on a web page, it goes to my Outlook Express inbox, not a new message

    It used to open to a new message with the relevant email address in the "To" line. Now it just opens Outlook Express to my inbox.

    Hi, cor-el,
    Thank you for responding so quickly!
    I tried to follow the instructions, but it didn't work. There are 10 mimeTypes.rdf files on my computer!
    I tried to follow the website instructions of
    Tools -> Options -> Content / File Types -> Manage
    but once I get to Content I am stuck. No Manage button. (there is nothing that says File Types)
    What do you suggest?
    Thanks again.
    Sherri

  • Message fade out just as in Outlook express

    Hi ,
    Does any 1 know how the message fades out when you receive a email from someone,just as in Outlook express
    The message is displayed in the right hand bottom corner of the screen
    I want to implement such type of message in my jsp page.
    For example ,suppose i click on submit button and the data is saved in the database.When I return back to the same page then i want such message to be seen on the screen.
    Is it possible??
    Any help would be appreciated
    Regards,
    Vishal

    Hey ,
    Thanks for ur reply
    I know that it is difficult
    So why not start a disscussion on this topic with others
    This could help us learn and share our ideas
    What u say??
    Plz send this question to as many people u can
    bye

  • After an automatic update yesterday, I can only print email (Outlook Express 6) headers but the messages do not print

    After an automatic update yesterday, I started having problems printing emails from Outlook Express 6. The headers (e.g. To, From, Subject) print, but the messages do not print.

    Try the Firefox SafeMode to see how it works there. <br />
    ''A troubleshooting mode, which disables most Add-ons.'' <br />
    ''(If you're not using it, switch to the Default Theme.)''
    * You can open the Firefox 4/5/6/7 SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut.
    * Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running. <br />
    ''Don't select anything right now, just use "Continue in SafeMode."''
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shft key) to open it again.''
    If it is good in the Firefox SafeMode, your problem is probably caused by an extension, and you need to figure out which one. <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes

  • Message fade out just like Outlook express

    Hi ,
    Does any 1 know how the message fades out when you receive a email from someone,just as in Outlook express
    The message is displayed in the right hand bottom corner of the screen
    I want to implement such type of message in my jsp page.
    For example ,suppose i click on submit button and the data is saved in the database.When I return back to the same page then i want such message to be seen on the screen.
    Is it possible??
    Any help would be appreciated
    Regards,
    Vishal

    You mean you want the fade-out message to appear on the JSP page itself ( that as you know is translated into HTML ) ???
    I don't think this is possible unless you use some sort of JavaScript.
    Please correct me if i misunderstood the situation.

Maybe you are looking for