Hiiii I Need To Send A Picture
Hi Every One



I need to send a picture via my email application
inthe MailMessage Body not in attachment if there is any way possiable to do it please share it with us ?

[520 byte] By [
Karrar] at [2007-12-24]
Sorry, I don't quite follow - are you wanting to attach a file in the MailMessage? From what I understand you do not want this? However if you are wanting to attach the file in the MailMessage object then there are a few examples on these forums also. I hope this helps:
Dim theMailMessage as new MailMessage("address@from.com", "address@to.com")
theMailMessage.Attachments.Add(new Attachment(PathToFile))
..
..
..
this is how you would attach a file in an email using the MailMessage object, is this what you are after?
I understand after re-reading that this is not what you maybe after but place it in the mailmessage body - I'm not sure if this is possible but you can however, if you enable the body html (IsBodyHtml = true) then you can use HTML tags to place your image there, example:
<img src="http://www.somesite.com/image.jpg">
Hi,
I'm appreciating Your fast replay but maybe I wasn't clear enough, I need to Put a picture in my MailMessage Body From My Machine and My Machine is not a Server and Dosen't Have a Static IP Address, not an HTML tag to load the pictuure from other site In another meaning I need to Send the picture as we send the text with No attachments and No other links to download the picture from at the recpient. Just to darg and drop the pictur i choose on the message body area or to open it from a OpenFileDialog and then it appear within the text You Know Like what i have remmbered Like a word Document. And Of course be able to sent it
Thanks