Click here to Skip to main content
15,899,475 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I am using godaddy mail server to send mail using c#.I am using below code to send mail and it works fine.But code sends email without any digital signature or image embedded on it.Can anyone tell me how to send mail with digital signature and image embedded in the background.What change should i make in below code.Please help.god bless you.

MailMessage mail = new MailMessage();
       SmtpClient SmtpServer = new SmtpClient("relay-hosting.secureserver.net");
       mail.From = new MailAddress("mail@domain.in");
       mail.To.Add("mail@domain.in");
       mail.Subject = "Subject";
       mail.Body = "Body" ;



       SmtpServer.Port = 25;
       SmtpServer.Credentials = new System.Net.NetworkCredential("mail@domain.in", "******");


       SmtpServer.Send(mail);
Posted

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900