Posts

Showing posts from September, 2018

Knowledge on HTTP Requests

HTTP REQUESTS HTTP is designed to permit intermediate network elements to improve or enable communications between clients and servers. A web browser  for example, may be the  client and an application running on a computer h osting  a  website  m ay be the  server . The client submits an HTTP  request  message to the server. The server, which provides  resources  such as HTML  f iles and other content, or performs other functions on behalf of the client, returns a  response  message to the client. The response contains completion status information about the request and may also contain requested content in its message body. Request Methods: HTTP defines to indicate the desired action to be performed on the identified resource. Safe methods Some of the methods (for example, HEAD, GET, OPTIONS and TRACE) are, by convention, defined as  safe , which means they are intended only for information retr...

Sending Email using smtp || Mailkit in ASP.Net

HOW TO SEND EMAIL USING SMTP || MAILKIT IN ASP.NET WEBFORMS, ASP.NET Core USING C# If we need your application to send email to specific mail id, either for Login confirmation or any other purpose. You can use .NET namespace “system.web.mail” which allows users to send smtp mails. SMTP runs on port no 25 is   t he default port, but it may vary different Mail Servers . What is SMTP ? SMTP ( simple mail transfer protocol ) is an electronic standard for email transmission. When you receive an email in your inbox, most likely it is being sent from an SMTP. Below are a few good SMTP alternatives which you might want to look into. §   SparkPost  (free up to 100,000 emails per month) §   Mailgun  (free up to 10,000 emails per month) §   Mailjet  (free up to 6,000 emails per month) §   Amazon SES §   SendGrid Sending mail in ASP.NET (C#) using System; using System.Windows.Forms; using System.Net.Mail; n...