My Professional Profile

I am Johnson Augustine Sr.Software Engineer and System Architect. I have 10 Yrs of hands on expertise in MVC 5 , Angular 5 , C# MVC Razor, WPF MVVM , Android , IOS Swift 3 , IOS11 MSSQL,MySQL Database,,PHP,C/C++/Visual C++/G++/QT++,Com,DirectX,Open CV,EMGU CV , embedded System Development , [Raspberry PI]. ,html,Javascript,Jquery,Ajax.CSS , Networking ,Cyber security, Ethical Hacking You can see my professional profile at Email :

Friday, 14 December 2012

Sending dynamic email from Webmails

Code bellow shows how to send emails from c#  from web servers .

 public void SendMail()

        MailMessage mm = new MailMessage("from id ", "toid");
       //(2) Assign the MailMessage's properties
         mm.Subject = "sub";
         mm.Body = "message";
         mm.IsBodyHtml =true;
        //(3) Create the SmtpClient object
        //'Dim smtp As New SmtpClient
       SmtpClient  smtp = new SmtpClient("");
        //'(4) Send the MailMessage (will use the Web.config settings)

No comments:

Post a Comment

Note: only a member of this blog may post a comment.