chinmaysony
New member
- Joined
- Dec 12, 2008
- Messages
- 4
- Programming Experience
- 1-3
hello friend ,
send text and image in body of MailMessage , in vb.net 2005 .
i create , Dim msg As New MailMessage
With msg
.From = New MailAddress(dtsend.Rows(0)(5))
.To.Add(dtsend.Rows(0)(4))
.Subject = dtsend.Rows(0)(6)
.IsBodyHtml = True
.Body = result
End With
result contain image
i want send body of msg with text and image
but i get Error : value of type 'system.drawing.image' cannot be converted to 'string' .
what is code to send ,body of msg with text and image .
if any one know please reply me soon.
send text and image in body of MailMessage , in vb.net 2005 .
i create , Dim msg As New MailMessage
With msg
.From = New MailAddress(dtsend.Rows(0)(5))
.To.Add(dtsend.Rows(0)(4))
.Subject = dtsend.Rows(0)(6)
.IsBodyHtml = True
.Body = result
End With
result contain image
i want send body of msg with text and image
but i get Error : value of type 'system.drawing.image' cannot be converted to 'string' .
what is code to send ,body of msg with text and image .
if any one know please reply me soon.