RSS

Category Archives: Uncategorized

Sending email in ASP.NET with email validation

//MailMessage tipsMail = new MailMessage();
//tipsMail.To.Add(email);
//tipsMail.From = new MailAddress(System.Configuration.ConfigurationManager.AppSettings[“fromAddress”].ToString());
//tipsMail.From = new MailAddress(“PMTips@mosaiquegroup.com”);
//tipsMail.Subject = “Project Management Tips from Mosaique”;
//tipsMail.Body = tipsMessage;
//tipsMail.IsBodyHtml = true;
// tipsMail.To.Add(System.Configuration.ConfigurationManager.AppSettings[“adminEmail”].ToString());
// tipsMail.To.Add(System.Configuration.ConfigurationManager.AppSettings[“adminEmail2”].ToString());
//tipsMail.To.Add(System.Configuration.ConfigurationManager.AppSettings[“adminEmail3”].ToString());
// tipsMail.To.Add(“javedarifkhan1@gmail.com”);

// SmtpClient smtp2 = new SmtpClient(“localhost”);
//// NetworkCredential credential2 = new NetworkCredential(System.Configuration.ConfigurationManager.AppSettings[“smtpUser”], System.Configuration.ConfigurationManager.AppSettings[“smtpPass”]);
// NetworkCredential credential2 = new NetworkCredential(“smtpUser”, “XXXXX”);
// smtp2.Credentials = credential2;
// smtp2.EnableSsl = true;
// smtp2.Send(tipsMail);

//MailMessage msg = new MailMessage();
//System.Net.Mail.SmtpClient client = new System.Net.Mail.SmtpClient();
//msg.From = new MailAddress(“smtpUser@domain.com”);
//msg.To.Add(email);
//msg.IsBodyHtml = true;
//msg.Body = tipsMessage;
//client.Host = “localhost”;
//System.Net.NetworkCredential basicauthenticationinfo = new System.Net.NetworkCredential(“Username”, “password”);
////client.Port = int.Parse(“587”);
//client.EnableSsl = true;
//client.UseDefaultCredentials = false;
//client.Credentials = basicauthenticationinfo;
//client.DeliveryMethod = SmtpDeliveryMethod.Network;
//client.Send(msg);

//MailMessage tipsMail = new MailMessage();
//tipsMail.From = “user@domain.com”;
//tipsMail.To.Add(email);
//System.Net.Mail.SmtpClient mail = new System.Net.Mail.SmtpClient();
//tipsMail.Body = tipsMessage;
//tipsMail.To.Add(“javedarifkhan1@gmail.com”);
//tipsMail.IsBodyHtml = true;

//SmtpClient smtp = new SmtpClient(“localhost”);
// smtp.Credentials = credential;
//smtp.EnableSsl = true;
//smtp.Send(tipsMail);

//////////// USING GOOGLE SMTP SERVER //////////////////
//// smtp.Host = “smtp.gmail.com”; // smtp.UseDefaultCredentials = true;
//SmtpClient smtp = new SmtpClient();
//smtp.Host = System.Configuration.ConfigurationManager.AppSettings[“smtpHost”].ToString();
//smtp.EnableSsl = true;
//NetworkCredential NetworkCred = new NetworkCredential(System.Configuration.ConfigurationManager.AppSettings[“smtpGUser”].ToString(), System.Configuration.ConfigurationManager.AppSettings[“smtpGPass”].ToString());
//smtp.Credentials = NetworkCred;
//smtp.Port = int.Parse(System.Configuration.ConfigurationManager.AppSettings[“smtpGPort”].ToString());
//smtp.Send(tipsMail);

Advertisements
 
Comments Off on Sending email in ASP.NET with email validation

Posted by on May 30, 2018 in Uncategorized

 

How to Create a Reference Page and Citations in MS Word

1. First, create a Bibliography in Word 2007/2010

1) Click References tab

2) Click Manage Sources on the Citations & Bibliography menu

3) Either Copy sources from the Master List to the Current List or create new sources that will automatically be added to both the Master and Current List

a. Sources in the Current List will be shown in the dropdown Insert Citation list.
Make your selection.

b. Enter information for each source.

4) Once all your sources are entered, close the window.

5) Select Style on the Citations & Bibliography menu and choose the appropriate style (typically APA but differs with professor; for Swasy, choose Chicago)

6) Click the Bibliography dropdown list and select Insert Bibliography

7) The bibliography will appear in your Word doc.

8) Edit accordingly (most bibliographies are double spaced)

2. Then, create EITHER Footnotes OR In-Text Citations

To Create Footnotes

1) Click References tab

2) Click Insert Footnote from the Footnotes menu Make sure your cursor has clicked the place in text where you want to cite the footnote

3) Word will direct you to fill in the footnote at the bottom of the page

4) Chicago Style footnotes/endnotes look like this:

Firstname Lastname, “Title of Webpage,” Publishing Organization or Name of Web Sit in italics, publication date and/or access date if available, URL Word will have the corresponding bibliography entry when you Insert Bibliography at the end of your paper.

To Create In-Text Citations

1) Click References tab
2) Click Insert Citation from the Citations & Bibliography menu and select appropriate source from the dropdown list
3) Make sure you have selected the appropriate style from the Style section of the Citations & Bibliography menu

 

 
Comments Off on How to Create a Reference Page and Citations in MS Word

Posted by on April 17, 2014 in Research Methods, Uncategorized

 

Tags: ,

JSON Introduction

JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate. It is based on a subset of the JavaScript Programming Language, Standard ECMA-262 3rd Edition – December 1999. JSON is a text format that is completely language independent but uses conventions that are familiar to programmers of the C-family of languages, including C, C++, C#, Java, JavaScript, Perl, Python, and many others. These properties make JSON an ideal data-interchange language.

JSON is built on two structures:

A collection of name/value pairs. In various languages, this is realized as an object, record, struct, dictionary, hash table, keyed list, or associative array.
An ordered list of values. In most languages, this is realized as an array, vector, list, or sequence.
These are universal data structures. Virtually all modern programming languages support them in one form or another. It makes sense that a data format that is interchangeable with programming languages also be based on these structures.

In JSON, they take on these forms:

An object is an unordered set of name/value pairs. An object begins with { (left brace) and ends with } (right brace). Each name is followed by : (colon) and the name/value pairs are separated by , (comma).

An array is an ordered collection of values. An array begins with [ (left bracket) and ends with ] (right bracket). Values are separated by , (comma).

A value can be a string in double quotes, or a number, or true or false or null, or an object or an array. These structures can be nested.

Source: http://www.json.org/

 
Comments Off on JSON Introduction

Posted by on September 12, 2013 in Uncategorized

 

Authoring Tool Accessibility Guidelines (ATAG) 2.0

W3C Last Call Working Draft 10 September 2013
http://www.w3.org/TR/ATAG20/

The Authoring Tool Accessibility Guidelines (ATAG) Working Group (AUWG) develops guidelines and techniques to assist authoring tool software developers to make tools, and the content that the tools generate, more accessible to people with disabilities. The Working Group Charter outlines the goals, work methods, and requirements for participation.

 
Comments Off on Authoring Tool Accessibility Guidelines (ATAG) 2.0

Posted by on September 12, 2013 in Uncategorized, W3C

 

Microsoft Academic Search

Nice update to MS Academic Search – I like it a lot …
http://academic.research.microsoft.com/DomainTrend?TopDomainId=2

 

 
Comments Off on Microsoft Academic Search

Posted by on July 8, 2013 in Uncategorized

 

JavaScript Annotation Library

Use ZURB’s Javascript plugin to easily add and save annotations

http://www.zurb.com/playground/javascript-annotation-plugin

 
Comments Off on JavaScript Annotation Library

Posted by on April 19, 2013 in Uncategorized

 

Educational Theories links

Educational Theories

 

 
Comments Off on Educational Theories links

Posted by on January 11, 2013 in Uncategorized

 
 
%d bloggers like this: