Sending and saving mail message with .msg extension

How can I save the mail message when sending with .msg extension , so that when user click on the saved message it will open in OutLook Express. ?

I already tried the one u suggest , MimeMessage has a method
writeTo(OutputStream) which can be used to save the message with .msg extension .... But the main problem arises when trying to open it in OutLook .....
It gives some error .... I think that it may be because of format .. .msg has binary format while MimeMessage is in another format ....
is there any way to convert MimeMessage to binary and then save it in .msg file .

Similar Messages

  • Why I can't send any e-mail messages with 6230i?

    Hi mates,
    I have a Nokia 6230i with a Vodafone Italian sim card in it.
    I know for sure that I CAN retrieve messages form my incoming POP3 e-mail server but I can't send any e-mail messages with it.
    Any time I try to do that it prompts me an information balloon saying: message failed. Why??
    I mean, I properly set up my phone with all Vodafone details but it still does not seem to work.
    Any help will be appreciate
    Stefano.
    P.S.
    I can even send and receive MMS and of course SMS too
    Solved!
    Go to Solution.

    thanks mate for your reply
    When you say: "Make sure your SP allows sending e-mail"
    Do you mean the provider who give me the mail service?
    Because I know for sure that with MS Outlook express I can send and recive e-mail with it
    Bye,
    Stefano.

  • Importing Mail Messages with .emix extensions

    Inadvertently I copied all my 8,000 older email messages into a folder thinking
    I could copy the old messages into a new folder into mail on my other Mac. When I try to copy these .emix messages, it will not allow me. When I try to IMPORT these messages from mail, I cannot highlight the mail box to import.
    I am able to read these messages when I open each one up individually.
    Does anybody have any idea's of how I can get the 1.5gb of email messages into my new computer. I do not have any of the older plist files from the host computers library. I only have the folder with 8,000 .emix mail messages.
    Help!

    Rob,
    I only have the folder with 8,000 .emix mail messages
    If you put those messages in an correctly named folder hierarchy, Mail should be able to import them fine:
    → Import.mbox
    →→ Messages
    →→→ 1.emlx
    →→→ 2.emlx
    →→→ …
    →→→ ###.emlx
    (the actual numbers don't matter - no need to renumber them from what you have)
    You should then be able to point Mail's import function to the folder containing the folder "Import.mbox" and in the next step can select a mailbox called "Import"
    (If this does not work, you can also move the "Import.mbox" hierarchy as described above into ~/Library/Mail/Mailboxes and quit and restart Mail. You will then see a new local mailbox called "Import" which is initially empty. After selecting "Mailbox → Rebuild" from the menu you should see your messages appear)
    Andreas

  • HT3529 How can i send and receive text messages with pictures?

    The camera button on the text screen won't let me send pictures. And I also can't recieve pictures.

    http://support.apple.com/kb/ts2755

  • Error in opening draft email saved with msg extension

    I am attempting to create a email and save it on local hard disc. The email is a file having msg extension. So that it can be opened with MS Outlook. Also I want it to be in DRAFT mode. Like we can create draft email with MS Outlook. This message will have multiple attachmets.
    Thus when user opens this file, it will get opened with MS Outlook and user will be able to edit the message text, TO/CC list, attachments.
    I am using MimeMessage.writeTo(Outstream) API to save the message to a file, say C:\test.msg
    But if I double click test.msg in explorer to open it, it gives error:
    Can't open file C:\test.msg. The file may not exist, you may not have permissions to open it, or it may be open in another program.
    Is it possible to create draft Outlook email message with msg extension?
    If yes, how?
    My code:
                   Properties props = new Properties();
                   props.load(new FileInputStream("C:/email.settings.properties"));
                   // create some properties and get the default Session
                   Session session = Session.getDefaultInstance(props);
                   session.setDebug(debug);
                   // create a message
                   msg = new MimeMessage(session);
                   //Create message from saved email
                   File savedFile = new File("C:/test.msg");
                   // set the from and to address
                   InternetAddress addressFrom = new InternetAddress(from);
                   msg.setFrom(addressFrom);
                   InternetAddress[] addressTo = null;
                   addressTo = new InternetAddress[recipients.length];
                   for (int i = 0; i < recipients.length; i++) {
                        addressTo[i] = new InternetAddress(recipients);
                   msg.setRecipients(Message.RecipientType.TO, addressTo);
                   // Setting the Subject and Content Type
                   msg.setSubject(subject);
                   msg.setContent(message, "text/plain");
                   MimeBodyPart attachmentBodyPart = new MimeBodyPart();
                   DataSource ds = new FileDataSource("C:/WhichSQLServer.pdf");
                   attachmentBodyPart.setDataHandler(new DataHandler(ds));
                   attachmentBodyPart.setFileName("WhichSQLServer.pdf");
                   Multipart multipart = new MimeMultipart();
                   multipart.addBodyPart(attachmentBodyPart);
                   msg.setContent(multipart);
                   //msg.setFlag(Flags.Flag.DRAFT, true);
                   msg.getFlags().add(Flags.Flag.DRAFT);
                   msg.setFileName("test.msg");
                   msg.saveChanges();
                   FileOutputStream os = new FileOutputStream("C:/test.msg");
                   msg.writeTo(os);
                   os.flush();
                   os.close();

    Outlook Msg files aren't as easy to write as you would believe. They are a propretary format that microsoft uses based on the DocFile format that Word and Excel uses.
    If you did the MimeMessage.writeTo(out) and saved it to a .eml file Outlook Express will open it, but Outlook doesn't directly read this file type.
    I've started on a library to allow the creation of Outlook msg files, right now it only allows you to set text, dates, long, and boolean values on the email message (which means you can set stuff like the recieved date/time, subject, body, to, from, etc), but it does not yet support attachments or extra recipents (CC, BCC, etc). I'll be updating the copy on my site as soon as I get the other stuff working (which isn't as easy as it sounds).
    Priasoft has a library available that can do what you want however.
    travis (at) overwrittenstack.com

  • TS3899 I send an e-mail message from my iPhone 5c and it shows up in Sent folder as a duplicate, 2 of the same e-mail messages sent at the same time.

    I send an e-mail message from my iPhone 5c and it shows up in Sent folder as a duplicate message. 2 identical messages sent at the same time. What's up with this? Tried Apple Support by phone, and did a couple of troubleshoots, then my connection with Apple Support was cut off. Issue not resolved yet.

    Did the mail get sent? Is the only issue the fact that it appears twice in the Sent folder?

  • Is anyone else having a problem sending a mail message with PDF attached?

    Is anyone else having a problem sending a mail message with PDF attached? I receive the following message:
    Sending the message content to the server failed.
    Select a different outgoing mail server from the list below or click Try Later to leave the message in your Outbox until it can be sent.
    Is there a fix for this?

    Anyone?  I was hoping my problem would just 'fix itself'...  but I still have some clients telling me they're not receiving any email from me.  I've since deleted that account on my computers and re-added it.  But still having the same issue. 

  • I cannot delete mail from my inbox and get a message saying (msg) could not be moved to the mailbox trash-POP account".

    I suddenly cannot delete mail from my inbox and get a message saying " (msg) could not be moved to the mailbox trash-POP account".  It does not matter if I am trying to delete a single message or mulitiple messages.  Can anyone help?

    If you're running Leopard, as your profile says, then you need to post your question in that forum, not the Snow Leopard forums. So if you're really running Snow Leopard, you need to update your profile to show that, as well as give more details about what kind of mail accounts you have, and who your email provider is.

  • When I send e-mail messages with file by using a POP3 in Exchange 2010 I received delivered message with file. How I can disable this functions that file do not include to delivery message. I use Exchange 2010 only local users.

    When I send e-mail messages with file by using a POP3 in Exchange 2010 I received delivered message with file. How I can disable this functions that file do not include to delivery message.  I use Exchange 2010 only local users.

    I think there is not native rule for this, but you could try a transport rule which removes all attachments over a very small file size like 1KB.
    http://blogs.technet.com/b/exchange/archive/2009/05/11/3407435.aspx
    CRM Advisor

  • Schedule the sending of a mail message

    Hi everyone
    How can I schedule a sending of a mail message? It seems so simple and so used in other mail programs... it's as simple as creating a mail message and ordering it to be sent first think in the morning while I'm still sleeping... that's what computers should be for right?
    Couldn't figure it out with automator...
    Tips and tricks are appreciated
    best regardzzzZz
    CV

    There is a script for it in Andreas Amann's Mailscripts
    AK

  • Weblogic server: how to send (and receive) mail directly

    Hi everyone,
    As the subject, I want to configure weblogic server to send ( and receive) notification message to user email address. Is it possible?
    Any suggestion is appriciated.
    Thanks.

    Hi Mr. Nimphius,
    I have created the mail session with the integrated weblogic server with the following properties:
    mail.debug=false;
    mail.smtp.password=xxxxx;
    mail.smtp.starttls.enable=true;
    mail.smtp.user=[email protected];
    mail.smtp.host=smtp.gmail.com;
    mail.smtp.auth=true;
    mail.smtp.port=587;
    mail.disable=false;
    mail.verbose=true;
    mail.transport.protocol=smtp;
    and here is the result:
    avax.mail.MessagingException: Can't send command to SMTP host;
    nested exception is:
    javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    Do you have any ideas to resolve this Exception?

  • Display problems in Mail messages with image attachment

    Issue: Seeing intermittent display problems in Mail messages with image attachments
    Annoyance level: minor, but Apple techs need to pass it along
    Details: Regardless of mail client sending to iPhone (Outlook, OWA, Yahoo, Gmail) there are intermittent and what appear to be random occurrances of the pic being half rendered and/or the pic never loading (followed by message saying it can't be retrieved from server). In some instances the picture then appears fully rendered without a problem. Note: Image sizes varied from 14KB to 450KB

    Hi,
    I'm not familiar with C#, but if possible try the following:
    1. Removing all thead and tbody tags from the body of the message.
    2. Changing all inline CSS to embedded CSS.
    I've seen a user said the message stopped showing up after making the changes.
    If the issue persists, please note, since Outlook 2007, Outlook opens the HTML Email and converts it to Microsoft Word format before displaying it to the user. What happens during this process is that many CSS attributes and HTML support is completely removed.
    Some of the most notable absences are background-image, and padding and margin support. Hardly can we do much about this, so the message "If there are problems with how this email is displayed, click here to view it in a web browser" is actually
    a good workaround when we face this problem.
    Regards,
    Melon Chen
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Saving Mail messages as text or rtf to a server makes them invisible

    If I save an email message as text or rtf to a LaCie NAS server, the resulting file is tagged as invisible. If I save it to the Mac's hard disk it is not. It's relatively easy to untag the files, but I need to save dozens on some days and it's laborious. Any ideas … ?

    It gets worse. I have just saved an incoming mail message with three attached photos. It said it was saving the images (hooray) and it created an RTFD file (folder). However, when I opened the saved document there were no images! Very very odd...
    Some readers may think that I must be getting it all wrong and this is just pilot error. I can here reassure them that is not the case; I am a technically competent Apple user of some 25 years' experience. I am not a code monkey though; I can strip down and reassemble a thirty year old naturally aspirated performance engine but I would not be able to do anything under the hood which involved chips and computers!
    It is a difficult one to pin down but I will be very interested to know if any other Lion upgraders are experiencing similar problems, however ill-defined.
    Drew

  • Please..how to instal libero mail on mi Ipad. I need the parameter for send and receive mail..Thanks

    Please..how to instal "libero" mail on my Ipad. I need the parameter for send and receive mail..Thanks

    FYI: POP will by default, delete messages from the server after downloading them (This applies to most pop clients, computer or mobile). POP is old tech and is not recommended if IMAP or Exchange are available. The default when setting up a g-mail type account is IMAP. Full synchronization with the server. You may also be able to set it up as an Exchange account, allowing for push e-mail and sync of calendars and contacts as well. See the Gmail help pages for instructions.

  • My wife and I share the same email address and Apple ID.  We are not able to send and receive Text Messages to one another.

    My wife and I share the same email address and Apple ID. We are not able to send and receive Text Messages to one another. Is the cause of this because we share the same Apple ID? Will we have to set up 2 separate primary email addresses to be able to  send and receive Tex Messages to one another? Like I said, we share the same email address and woul like to keep it that way to keep up with our email together. Is there a way to by-pass having to set up 2 primary emaill addresses if this is the problem?
    Thanks.

    go to the settings and turn off imessage
    but that don't change the issue that you will never be able to facetime eachtoher
    the appleID is really meant as the handle that identify you it was not meant to be shared
    but can see that people may want to do not buy apps more then once

Maybe you are looking for

  • Schemas stored in BiztalkMgmt DB table

    Hello, In the Biztalk Admin Console , i can go to any schema, doubleclk and select Schema View. This shows me the actual schema. Any idea  from which BiztalkManagement DB table, the schema view  is stored in? My original thought was this would come f

  • Retrieving servlet error message on the client

    Hi, I am trying to display a user friendly error message on a swing client after calling a servlet. Unfortunately the only thing I get is the generic 500 error - java.io.IOException: Server returned HTTP response code: 500 for URL: ... When I call th

  • Two time capsules for one Mac

    I have 3 TB data on my Mac. The biggest Time Capsule is 2 TB. At the moment I do only backups from one of my hard disks with 1 TB. I manage the additional backup of 2TB with Chronosync, but I really would like to do it with Time Machine. Is there any

  • I am facing a error in j2ee

    i am facing a error in j2ee. when i try to compile my src code, it give me errors saying that javax.ejb.* not found, ejbObject not found. like that... could anybody solve my problem...

  • Quick question: JFileChooser mode

    Hello All, I have a bit of a problem regarding JFileChooser. My application has 1 main window, and subwindows which are created when certain actions are performed on the main window. I want to create a file chooser when I perform certain actions on o