Hi all.
Actually in my application a user fil the form and attach his image
into same page..then i wanna send his all details and image to admin
via email..but simplify details easily send but some problem in image
attachement...
i had make a folder image in Root and all image will save on it..
and i am using this code :
Mail function ().....
SmtpClient smtpClient = new SmtpClient();
MailMessage message = new MailMessage();
MailAddress fromAddress = new
MailAddress("[email protected]", "New Msg");
smtpClient.Credentials = new
System.Net.NetworkCredential("[email protected]", "HAPPY ");
smtpClient.Host = "mail.groupl.com";
smtpClient.Port = 27;
message.From = fromAddress;
message.To.Add("[email protected]");
message.Subject = "New Registration";
message.IsBodyHtml = true;
string strBody1
="<html><head>ABCDEFG........................................<html><head>.";
message.Body = strBody1;
smtpClient.Send(message);
pls tell me how i will send Image in this mail .....i'll wait for
reply..I have a folder Image in this all image are save ....
--
Warm Regards:-
Gourav Vishnoi
+91-9871157845 (M)
“Smile: A curve that can set a lot of things straight."