Top 10 email service providers to send emails using asp .net
Get link
Facebook
X
Pinterest
Email
Other Apps
-
In most of our website projects there is a need to send emails to website administrators, users, newsletter subscribers etc. In asp .net we can send emails using System.Net.Mail class. However this class needs SMTP server settings to send emails. To provide necessary SMTP settings we can either use our own SMTP server or we can use SMTP server of third party Email service providers like Rediffmail, Gmail, Hotmail, Yahoo etc. In this article we will see how to send emails using asp .net and email service providers like Rediffmail, Gmail, Hotmail, Yahoo etc. We will also see list of top 10 email providers we can use to send emails with asp .net.
Note: This method requires internet connection to send emails, you can also send emails without internet connection in asp .net using SmtpDeliveryMethod.SpecifiedPickupDirectory. For more information refer this tutorial.
smtp.Port = 587; //---- SMTP Server port number. This varies from host to host.
20
smtp.Send(mm);
21
22
//==== Show confirmation message.
23
lblConfirmation.Text = "Congratulations, Your email successfully sent";
24
25
//---- Clear form fields.
26
txtEmailBody.Text = string.Empty;
27
txtEmailSubject.Text = string.Empty;
28
txtEmailTo.Text = string.Empty;
29
}
30
}
From above example you can see how easily we can use power of asp .net and email service providers to send emails. Here is a list of 10 email service providers you can use to send emails.
Sno
Server Name
SMTP Address
Port
SSL
1
GMail
smtp.gmail.com
587
Yes
2
Hotmail
smtp.live.com
587
Yes
3
Yahoo
smtp.mail.yahoo.com
587
Yes
4
Rediffmail
smtp.rediffmail.com
587
Yes
5
Outlook
smtp.live.com
587
Yes
6
AOL
smtp.aol.com
587
Yes
7
AIM
smtp.aim.com
587
Yes
8
Zoho Mail
smtp.zoho.com
465
Yes
9
Mail.com
smtp.mail.com
587
Yes
10
Sify.com
smtp.sify.com
587
Yes
To use these email service providers you have to just do changes in :
smtp.Host
smpt.EnableSSL
NetworkCredentials
smtp.Port
Example: Suppose you want to send email using your rediff mail and asp .net you need to change these settings only:
One of the most frequent questions I get is about the tools that I use for international SEO, and although I included most of them in my international SEO presentation at MozCon , since I didn't had the time to focus on them, I would like to share how I use them to support my international SEO activities. There are tools to support every part of your journey, including identifying the potential, targeting an international audience, optimizing and promoting the websites, earning international popularity, and measuring and achieving benefit with the international SEO process. Let's get started! Your initial international search status Google Webmaster Tools Identify your initial international search visibility, from the volume and trends of queries to pages' impressions, clicks, and the CTR you get per country. Use the "Search Queries" report in Google Webmaster Tools and filter by location. Google Analytics In the ...
In this article, we will learn how to implement Token Based Authentication in Web API to secure the server resources using OAuth. Introduction In this article, we will learn how to implement Token Based Authentication in Web API to secure the server resources. There are 3 Common Methods of Web API Authentication: HTTP Basic Authentication API Keys OAuth Here I am using OAuth authentication. OAuth is not technically an authentication method, but a method of both authentication and authorization. By using OAuth we can create Token Based Authentication API. First, what is Token Based Authentication in Web API, advantages of Token Based Authentication in Web API and how does it work? What is Token Based Authentication in Web API? Token-based authentication is a process where the user sends his credential to the server; server will validate the user details and generate a token which is sent as response to the users with...
Comments
Post a Comment