Category - Gmail
Results 21 - 40 of 41
20 May 2020 20 May 2020 0 Comments  13063 Views
Here Mudassar Ahmed Khan has explained with an example, how to send email using Web Service in ASP.Net using C# and VB.Net.

In this article, Gmail SMTP Mail Server will be used for sending emails.

To send email with Gmail SMTP Server, you will need to use an email address and password of a valid Gmail account and along with that you will need the Gmail SMTP Mail Server settings.
28 Jan 2020 28 Jan 2020 0 Comments  9014 Views
ASP.Net  MVC  Email  Gmail  Core
Here Mudassar Ahmed Khan has explained a short tutorial with example on how to send emails in ASP.Net MVC Core 2.1.

This article will illustrate how to send emails with attachment using SMTP Mail Server in ASP.Net MVC Core.

This article will make use of GMAIL SMTP Server for sending emails in ASP.Net MVC Core.
28 Mar 2019 28 Mar 2019 1 Comments  16573 Views
Here Mudassar Ahmed Khan has explained with an example, how to send DataGridView to Email in Windows Forms (WinForms) Application using C# and VB.Net.

First a DataGridView will be populated with some data and then an HTML Table will be generated using the values from the DataGridView.

Finally, the HTML Table string will be used to send the DataGridView’s data to Email in Windows Forms (WinForms) Application using C# and VB.Net.
24 Jan 2019 24 Jan 2019 0 Comments  16249 Views
Here Mudassar Ahmed Khan has explained with an example, how to send runtime generated file as Attachment in email in ASP.Net using C# and VB.Net.

This article will illustrate how to attach a runtime generated PDF file as attachment and send email in ASP.Net using C# and VB.Net.
24 Jan 2019 24 Jan 2019 0 Comments  25696 Views
Here Mudassar Ahmed Khan has explained with an example, how to send email using GMAIL SMTP Server using C# and VB.Net.
24 Jan 2019 01 Jun 2022 0 Comments  30397 Views
Here Mudassar Ahmed Khan has explained how to resolve the error Failure sending email in ASP.Net.

Generally the Failure sending email error comes when debugged leads to the following error:
The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required in ASP.Net Application.
Thus this article will cover the common solutions which can resolve the issue.
22 Oct 2018 23 Oct 2018 2 Comments  17503 Views
Here Mudassar Ahmed Khan has explained with an example, how to export Crystal Report to PDF and send as Email Attachment in ASP.Net using C# and VB.Net.

Crystal Report provides function named ExportToStream which exports Crystal Report to Word, Excel, PDF or CSV file in Stream format.

Later the Stream can be used to attach the exported PDF file as Attachment and send as Email.
16 Oct 2018 16 Oct 2018 0 Comments  75881 Views
ASP.Net  HTML  Email  Gmail
Here Mudassar Ahmed Khan has explained with an example, how to send Email using HTML Templates in ASP.Net with C# and VB.Net.

HTML Template is nothing but an HTML File whose contents will be read, modified and sent as Email.

HTML Templates are used to send newsletters and promotional emails. Such emails contain Rich Text content, images and animations.
07 Sep 2018 07 Sep 2018 1 Comments  38267 Views
Here Mudassar Ahmed Khan has explained with an example, how to send Email from Trigger in SQL Server.

This article will illustrate how to send email from Trigger using sp_send_dbmail Stored Procedure in SQL Server by using GMAIL SMTP settings.

This article is applicable to following SQL Server versions i.e. 2008, 2008R2, 2012, 2014, 2016 and 2017.
06 Sep 2018 06 Sep 2018 4 Comments  93358 Views
Here Mudassar Ahmed Khan has explained with an example, how to send email in SQL Server using Stored Procedure.

This article will illustrate how to send email using sp_send_dbmail Stored Procedure in SQL Server by using GMAIL SMTP settings.

This article is applicable to following SQL Server versions i.e. 2008, 2008R2, 2012, 2014, 2016 and 2017.
08 Apr 2015 01 Jun 2022 59 Comments  308757 Views
Here Mudassar Ahmed Khan has explained how to resolve the error The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required in ASP.Net Application.
03 Jul 2014 24 Jan 2019 2 Comments  132478 Views
Here Mudassar Ahmed Khan has explained with an example, how to dynamically create PDF from HTML string using iTextSharp and send the generated PDF as Email Attachment in ASP.Net using C# and VB.Net.
28 Jun 2014 24 Jan 2019 3 Comments  54692 Views
Here Mudassar Ahmed Khan has explained with an example, how to dynamically generate PDF in Memory from HTML using iTextSharp and send the generated PDF as Email Attachment using C# and VB.Net.

Using iTextSharp Library, the PDF is generated from HTML string in memory by making use of MemoryStream class and then the same is attached to the MailMessage object and send as email attachment.
07 Aug 2013 13 Aug 2021 6 Comments  1114055 Views
Here Mudassar Ahmed Khan has explained with an example, how to send email asynchronously in background using Thread in ASP.Net using C# and VB.Net.

The need of sending asynchronous email arises since email sending process takes significant amount of time to execute and to keep the users waiting until the email is being sent is not acceptable.

Thus this article will explain how an email sending process can be executed in background Thread and thus removes the latency involved in the email sending process.
26 Jun 2013 26 May 2020 10 Comments  623124 Views
Here Mudassar Ahmed Khan has explained with an example, how to create a Contact Us Page in ASP.Net using C# and VB.Net.

The Contact Us Form contains some TextBox controls and a FileUpload control to attach file.

When the Send Button is clicked, the values from the TextBox fields are embedded into HTML string and the HTML string is send as Email and the File is attached to the Email.
16 Apr 2013 13 Aug 2021 0 Comments  28523 Views
Here Mudassar Ahmed Khan has explained with an example, how to send emails using GMAIL Account Credentials and also make use of threading to improve performance in ASP.Net using C#.
01 Aug 2012 01 Jun 2022 10 Comments  199247 Views
Here Mudassar Khan has explained with an example, how to read emails from POP3 mail server in ASP.Net using C# and VB.Net.

This article makes use of the free open-source library OpenPop.Net which provides easy API to access and read emails from the POP3 mail Servers.
13 Apr 2011 16 Oct 2018 22 Comments  1329039 Views
Here Mudassar Ahmed Khan has explained with an example, how to create and send HTML formatted emails in ASP.Net using C# and VB.Net.

HTML formatted emails are used to send newsletters and promotional emails. Such emails contain Rich Text content, images and animations.
04 Aug 2009 21 May 2020 22 Comments  143574 Views
Here Mudassar Ahmed Khan has explained with an example, how to create a Contact Us Form with HTML Rich Text Editor in ASP.Net using C# and VB.Net.

The Contact Us Form contains some TextBox controls and a FileUpload control to attach file.

When the Send Button is clicked, the values from the TextBox fields are embedded into HTML string and the HTML string is send as Email and the File is attached to the Email.
15 Feb 2009 15 Aug 2018 11 Comments  89947 Views
Here Mudassar Ahmed Khan has explained how to attach files to email without saving them onto the disk directly from the FileUpload stream.
Results 21 - 40 of 41