.msg attachment - Outlook Message File
Hi all,
How do i open an attachment which is of Microsoft outlook message type? Attachment extension is .msg
Thanks,
Please go through this KB article, hope this will help you
http://btsc.webapps.blackberry.com/btsc/viewdocument.do?externalId=KB10473&sliceId=2&cmd=displayKC&d...
Similar Messages
-
How to attach a text file as an attachment to email message?
Hello Everybody,
I have a .csv file, in which details about emp-id, emp-name, e-expenses for Reimbursement and email address are stored.
My application reads this .csv file, and sends a mail to each employee with his id, salary details in text format. (by changing content type to "text/plain") The code is working fine. But,
My problem is:
The message is sent as message body to the end user.
The end user / the person who receives this mail will not be a technical person. So,
1) If he trys to take a print out of this e-mail, He get only half of it.(as no. of colums will be more than paper size).
2) I am finding alignment problem. IF employee name is too big, other columns will shift to right and data will not be exactly under column header. (it is going in zig zag way)
So, I thought sending text file with all the details as an attachment might do well.
But, I don't know how to attach a text file to email-message body.
code
try
{ String s1="";
File f1 = new File(the path);
FileInputStream fstream = new FileInputStream(f1); //new
BufferedReader br = new BufferedReader(new InputStreamReader(fstream));
int count=0;
while((s1=br.readLine())!=null )
count++;
//out.println("within while loop "+count);
StringTokenizer st = new StringTokenizer(s1,",");
if ((st.hasMoreTokens())&&(count>1))
String a=st.nextToken().trim();
String b=st.nextToken();
String c=st.nextToken();
String d=st.nextToken();
String e=st.nextToken();
String f=st.nextToken();
String g=st.nextToken();
String h=st.nextToken();
String i=st.nextToken();
String j=st.nextToken();
String k=st.nextToken();
String l=st.nextToken();
String m=st.nextToken();
String n=st.nextToken();
String o=st.nextToken();
String p=st.nextToken();
String q=st.nextToken();
String mail=st.nextToken();
String s=st.nextToken();
//out.println("b="+b+"c="+c+"d="+d+"e="+e+"f="+f+"mail="+mail);
%>
<%
String to =mail;
String from =request.getParameter("fromadd");
String subject ="Statement of Expenses";
String smtp ="mail.xxxxxxxxxx.com";
String message="";
message=message.concat("EMP ID");
message=message.concat(" ");
message=message.concat("Name");
message=message.concat(" ");
message=message.concat("Dept No.");
message=message.concat(" ");
message=message.concat("Acc No.");
message=message.concat(" ");
message=message.concat("*****************************************************************************************");
message=message.concat(a);
message=message.concat(" ");
message=message.concat(b);
message=message.concat(" ");
message=message.concat(c);
message=message.concat(" ");
message=message.concat(d);
Properties props = System.getProperties();
// Puts the SMTP server name to properties object
props.put("mail.smtp.host", smtp);
// Get the default Session using Properties Object
Session session1 = Session.getDefaultInstance(props, null);
// Create a New message
MimeMessage msg = new MimeMessage(session1);
// Set the From address
msg.setFrom(new InternetAddress(from));
// Setting the "To recipients" addresses
msg.setRecipients(Message.RecipientType.TO,InternetAddress.parse(to, false));
/* // Setting the "cc recipients" addresses
msg.setRecipients(Message.RecipientType.CC,InternetAddress.parse(cc, false));
// Setting the "Bcc recipients" addresses
msg.setRecipients(Message.RecipientType.BCC,InternetAddress.parse(bcc, false)); */
// Sets the Subject
msg.setSubject(subject);
// set the meaasge in HTML format
msg.setContent(message,"text/plain");
// Set the Date: header
msg.setSentDate(new java.util.Date());
// Send the message
Transport.send(msg);
// Display Success message
result =result.concat("<tr><td>"+b+"</td>"+"<td>"+to+"</td></tr>");
}//end of if of hasmore element
}// end of while loop
out.println(result);
}catch(Exception e)
// If here, then error in sending Mail. Display Error message.
result="Unable to send your message";
out.println("e="+e);
Any help will be appreciated.
Thanks and regards.
Ashvini<html>
<p>
MimeBodyPart mbp1 = new MimeBodyPart();
mbp1.setText("Your Messages");
MimeBodyPart mbp2 = new MimeBodyPart();
FileDataSource fds = new FileDataSource("Your Attachments");
mbp2.setDataHandler(new DataHandler(fds));
mbp2.setFileName(fds.getName());
Multipart mp = new MimeMultipart();
mp.addBodyPart(mbp1);
mp.addBodyPart(mbp2);
msg.setContent(mp);
msg.saveChanges();
msg.writeTo(System.out);
msg.setSubject(subject);
Transport.send(msg);
</p>
<B><U>See you can add above code in your program and see the magic</U></B>
Bye
regards--
Ashish
</html> -
when i am trying to check syntax of my code in HDL Interface Node following errors had been occured
Release - xst J.33
Copyright (c) 1995-2007 Xilinx, Inc. All rights reserved.
WARNING:UtilitiesC - Message file "Xst.msg" wasn't found.
--> WARNING:UtilitiesC - Message file "PersonalityModule.msg" wasn't found.
ERRORersonalityModule - Unable to open definition file for Personality Module "virtex". Please make sure that it has been correctly installed.Hello Jonah,
i was trying to implemet and addition of two numbers in Verilog code . I used NGC netlist file in the external files of the HDL Interface node. While checking for the syntax error, i getting the error.
i am attaching the program and also the screen shot of the error.
thanks,
sriveni.
Attachments:
Error while Checking Syntax.JPG 49 KB
Program.zip 175 KB -
Trex is not indexing Outlook messages .msg
Hi Everybody,
Does anyone know why TREX is not indexing .msg (Outlook mail) files?
In [Help.sap.com|http://help.sap.com/saphelp_nw04s/helpdata/en/55/cb634114b78047e10000000a1550b0/frameset.htm] it says it should be supported...
Any ideas?
Thanks in advance,
FedeThanks Raghu!
You solved my problem!!
The definitive solution was:
In portal (SysAdm > SysConf > KM > CM > Utilities > MIME Types) I've added this settings:
Name "msg"
Default Extension ""
Extension "msg"
Locale ""
MIME Type "application/vnd.ms-outlook"
Resource Bundle File ""
Resource Key ""
In <disk_drive>:\usr\sap\trex_<instance_number>\TREXValidMimeType.ini, I've added the following rows:
application/vnd.ms-outlook
message/rfc822
Now TREX is indexing .msg outlook files!
Thanks Again,
Fede -
I attached multiples .pdf files to an email. Tried to attach the next file before the previous 1 finished attaching. Got error message "this "**" file cannot be attached until the files already attached are finished uploading". Was never able to attach that 1 file to the email that I received the error message for; was able to attach subsequent files to that same email & send it. Now, I often get the same error message, even if I only attach 1 file & esp. when attaching .ai or .jpeg files. What can I do to fix this problem?
It looks like nobody has an answer for this despite of the 80 something views!
And here i thought Adobe admin would be monitoring the forum, but surprisingly, they don't even have the answer for this!!! -
How to attach a pdf file to a message posted on this forum
Hello All,
I'm trying to attach a pdf file to a message that I'm going to post. I don't a way to do, although I see that I can attach image files. Is there a way to attach a pdf file or this is not allow on this forum?A lot of folks set up a free account at Acrobat.com. Upload the file, share it, publish it, and get the link to post here.
-
Just started using my Mac Mail program instead of web mail. When I went to attach two pdf files, one attached as a file, the other inserted all the text into the body of the email message. How do I get it to attach both pdf's as files?
I think you're confusing two different things. If you attached PDF files and one of them displayed the PDF icon in the message window, that means it was more than one page. If you saw what appeared to be the actual document for the other PDF file, that means it's only one page and it's normal for it to display that way.
However, I seem to recall there may (or should) be a button at the bottom-right of the message window that allows you to display those files as icons, even if they're one page. If not, there's a third-party addition you can use to add that feature:
http://lokiware.info/Attachment-Tamer -
Recently received msg to download update to iTunes. When I did got message file MSVCR80.dll was missing and update had failed. Now I can't even open iTunes. How do I get the file back
Click here and follow the instructions. You may need to completely remove and reinstall iTunes and all related components, or run the process multiple times; this won't normally affect its library, but that should be backed up anyway.
(99431) -
When I attach a JPG file in my email message and send it to a Windows friend they get the message "The file type being saved or retrieved has been blocked when they try to open it so that they can save it." Anyone know why and how to fix this problem?
Your Windows friend should ask in a Windows forum why his email client won't open attached jpg files. We have no idea what email client he is using or how his Windows security is configured.
-
Hi All,
I have an Outlook (2003-2013) addin developed using C# (NOT VSTO).
A new client (using the desktop client for Outlook 365) has got a COMException error message stating 'The Outlook data file (.pst) failed to load for this session.' at the code line where I add the PST store (using Microsoft.Office.Interop.Outlook.NameSpaceClass.AddStoreEx).
I have never come across this error message before and there is barely any mention of this message on any forums. The only question I could find regarding this has been asked mid 2014 and hasn't been answered.
I'm fairly sure this is not related to either DisablePST or PSTDisableGrow registry key settings as I check fore their existance and notify the user separately.
Could anyone help me out on how to resolve this? I do not know where to begin even.
Thanks!!
Cheers!Hi Eugene,
Thanks for the reply.
I pass the location that the PST is to be created (as a string), and the OlStoreType.olStoreUnicode constant.
The client is using a network location to store the PST file (even though we advised them not to) - leading to many corrupt PST files (that they are apparently happy to live with), but this is the first time we came across this message.
I would assume the problem is with that file, as no other clients are having any issue like this.
Have you come across this error message? Do you know what sort of scenario could be responsible for it?
Or would I have to file it under "random problems generated by network PSTs"? :P
Cheers! -
How can I attach a jpg file in a mail message as the file icon, not as an opened image in the text?
what's wrong with this picture
-
How can I attach a pdf file to outgoing mail without it opening up within the message?
How can I attach a pdf file to outgoing mail without in opening up within the message?
You can use the Share button on Preview's toolbar. Choosing Email pops open Mail with the PDF already iconified as an attachment. If it doesn't behave this nicely for you, select the PDF in Mail and choose the right contextual menu, where you will find View as Icon. I also have Send Windows-Friendly attachments enabled.
-
Hi,
Has any one user Microsoft Outlook?
Everytime I send out an e-mail from Microsoft Outlook, it always has an attachment with extension .apple-msg-attachment.
This does not happens when e-mail send from Mail App.
Is there any particular setting to avoid this automatic attachment?
Thanks in advance,
SandyPlease go through this KB article, hope this will help you
http://btsc.webapps.blackberry.com/btsc/viewdocument.do?externalId=KB10473&sliceId=2&cmd=displayKC&d... -
0x8004010F: The operation failed. An object could not be found.
1. reviewed Profile instructions
2. Ran SytTools thinking it would fix the error. NO although I could send received I ended up with a giant pst
3. Back to Profile Instructions.
4. Set up new profile with my email address. email address tested well. Run Outlook. loads as outlook data PST
and gmail address PST. Deleted all the Gmail subscriptions to improve speed. Original error was gone but have two GIGANIC PST FILES.
5. Set up another new profile with my email address and a named pst. Run Outlook under that Profile -
comes up with newly named pst and the gmail addrress pst (although I can't figure out where that pst is located. Will not let me use email address as default Profile. Tried different approaches and still ended up always with the gmail address pst. Deleted
all profiles but email address and comes up.
6. Should I just go ahead and use the gmail address pst I need to import data or download data from gmail
to get last years correspondence.e
7. Outlook is my lifeblood, I am in communications and every submitted email gets moved to a file with an update.
Help?
8. One option is to merge psts but might make worse mess.
Thanks. Beautiful Beach weather here!To resolve error 0x8004010F , identify the current location of your default Outlook data file, and then create a new Outlook profile.
Step 1- Locate the default Outlook data file
Click Start, and then click Control Panel.
In Control Panel, click Mail.
In the Mail Setup - Outlook dialog box, click Show Profiles.
Select your current Outlook profile, and then click Properties.
In the Mail Setup - Outlook dialog box, click Data Files.
Select the Data Files tab in the Account Settings dialog box, and then note the name and location of the default data file for your profile (a check mark will denote the default data file).
Click Close.
Step 2 - Create a new Outlook profile
Step 3 - Configure your new Outlook profile as the default profile
More detailed steps you can refer to this KB article:
http://support.microsoft.com/kb/2659085 -
How can I attach a .jpg file to email? I keep getting error message.
I can attach a document file with no problem. I can attach files and pictures in a different browser. It does not even start the attachment process for a .JPG file and eventually says it failed.
what's wrong with this picture
Maybe you are looking for
-
How to format a numeric field in ES2 ?
Hi... I'm trying to format a numeric field in LiveCycle designer using six digit and allowing zero's "000000"- I went to patterns for setting the format, unfortunately I couldn't know how figure it out? I've tried this pattern: null{}|zero{000000}|nu
-
Migrate Business Contact Manager to Office365
Hi, I've today been told by presales at Microsoft that Business Contact Manager BCM is available to download and will work with the MS Office365 O365 Business Premium Plan. We're about to migrate a client currently on MS Office 2007 and heavily using
-
Failed to access internet in App sometimes even the internet is active
Hi Some times I am unable to access internet from my WinRT Application even my device is connected to internet. Is that a problem with Opeating System or with my Application, Can anybody explain Plz..
-
Hello, we set up an iChat Server (10.5.4) and one of our users can't do videochat. From no place he is. So we don't know what to do, all the other users can do the videochat. What could it be? Thx, Olaf
-
I use Report Developer 9i and I have used "distribution" for a report that has a paper layout. Do you know how can I use distribution for a WEB REPORT(.jsp) ? Thank you, Maria