Never been to TextSnippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)

About this user

Craig S. Bosma

« Newer Snippets
Older Snippets »
2 total  XML / RSS feed 

Authenticated SMTP in C#

// send smtp from from c#/.net

System.Web.Mail.MailMessage message=new System.Web.Mail.MailMessage();

message.Fields.Add( "",1 );
message.Fields.Add( "","SmtpHostUserName" );
message.Fields.Add( "","SmtpHostPassword" );

message.From="from e-mail";
message.To="to e-mail";
message.Subject="Message Subject";
message.Body="Message Body";

System.Web.Mail.SmtpMail.SmtpServer="SMTP Server Address";

MySQL dump schema only

// description of your code here

 mysqldump familyman_development -u familyman -p -d  --skip-opt    
« Newer Snippets
Older Snippets »
2 total  XML / RSS feed