|
-
May 28th, 2007, 02:44 PM
#1
Thread Starter
Fanatic Member
Mail file.msg using MailMessage
Is it possible to load a file from harddisk (file.msg, mail-file created with MS outlook) and mail it using the mailmessage-class?
or is there any other way?
- Use the thread tools to Mark your Thread as Resolved when your question is answered.
- Please Rate my answers if they where helpful.
-
May 28th, 2007, 04:08 PM
#2
Re: Mail file.msg using MailMessage
That depends on how the file is created. Try opening it in notepad and see what comes up, is it readable? If it is, it will be easy to get the information out, but if it isnt, its alot harder, if its even possible.
-
May 28th, 2007, 06:25 PM
#3
Re: Mail file.msg using MailMessage
You can attach it to a MailMessage and then the recipient will be able to open it with their mail client. Otherwise you'd have to do as Atheist suggests and open the file and get the data out of it to assign to the appropriate properties of your MailMessage object.
-
May 29th, 2007, 01:28 AM
#4
Thread Starter
Fanatic Member
Re: Mail file.msg using MailMessage
- The text is not readable when I use notepad.
- I do not want to attach it in another mail. (If there's no other way I'll have tot do it like that).
- I've seen some freeware components that are able to do what i want. I guess i'll have to try one of them.
- Thanks for the help
- Use the thread tools to Mark your Thread as Resolved when your question is answered.
- Please Rate my answers if they where helpful.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|