A
AWIcurrent
I want to create a file with graphics and pictures which can then be read in
VB 2005 and put into an email by setting the message= to the content of that
file.
Said in another way. I want to use Word to create email message content
full of pictures and so on and then save it for reading into a VB 2005
program and setting the message portion = to the file content.
This code is working great for text files. Richtext files from word are not
doing well with the pictures nor are HTML saves from WORD.
I am using system.net.mail and the message is being set as mailmsg.body= to
the content of the file read into a string variable. Should I just set the
body equal to the file rather than making it into a string variable? Body
appears to be a string type so this should work. I am setting the
mailmsg.html to true so I would think it would decode correctly...but what do
i know!
Should the body be a type other than a string? perhaps this should just be
an object but then will the mailmsg.body accept that variable type?
What is the correct way to save this from Word so that it can be used as
planned?
Thank you.
VB 2005 and put into an email by setting the message= to the content of that
file.
Said in another way. I want to use Word to create email message content
full of pictures and so on and then save it for reading into a VB 2005
program and setting the message portion = to the file content.
This code is working great for text files. Richtext files from word are not
doing well with the pictures nor are HTML saves from WORD.
I am using system.net.mail and the message is being set as mailmsg.body= to
the content of the file read into a string variable. Should I just set the
body equal to the file rather than making it into a string variable? Body
appears to be a string type so this should work. I am setting the
mailmsg.html to true so I would think it would decode correctly...but what do
i know!
Should the body be a type other than a string? perhaps this should just be
an object but then will the mailmsg.body accept that variable type?
What is the correct way to save this from Word so that it can be used as
planned?
Thank you.