Skip to content

Desktop Windows Apps to send and receive emails using SMTP, POP3 and Windows Forms, .NET 7.0

License

Notifications You must be signed in to change notification settings

dotpep/email-client-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Email Client Desktop App

Windows Application using .NET 7.0 and Windows Forms, as email protocols for send SMTP and receive POP3, additional nuGet library OpenPop.

Features

  • Email Sending: Send emails to specified recipients with a subject and body.
  • Email Receiving: Receive and display emails from the configured email account.

Demonstration

EmailClientApp Interface and Sending/Received emails Result of sended email

Getting Started

Installation

  1. Clone the repository:
git clone https://github.com/dotpep/email-client-app
  1. Open the project in your preferred C# development environment (e.g., Visual Studio).
  2. Check Configuration section below.
  3. Build and run the application.

Configuration

Before using the application, follow these steps to configure your email settings:

  1. Open project solution and EmailApp.cs file
// Email sending configuration btnSend_Click()
int smtpPort = 587;
string smtpUsername = "[email protected]";
string smtpPassword = "your_google_app_password";
// Email receiving configuration btnReceive_Click()
int pop3Port = 995;
string pop3Username = "[email protected]";
string pop3Password = "your_google_app_password";
  1. Replace "[email protected]" with your actual Gmail address.
  2. Generate an app password for Gmail by following the instructions here.
  3. Replace "your_google_app_password" with the app password generated from your Google account.

By completing these steps, your Email Client App will be configured to send and receive emails using the specified Gmail account.

Prerequisites

  • Visual Studio with .NET 7.0
  • Gmail Account
  • Google App Password - instructions here.
  • Network Connection

Usage

  1. Launch the exe file application.
  2. Enter the required information in the provided textboxes:
    • Sender's email address
    • Recipient's email address
    • Email subject
    • Email body
  3. Click the "Send" button to send the email.
  4. Click the "Receive" button to retrieve and display received emails in the list.
  5. Select an email from the list to view its details in the designated area.

Release

  • Version: 1.0.0
  • Release Date: 02.03.2024

TODO

  • advanced received emails
  • gmail login in apps using text components
  • release exe file

LICENCE

This project is licensed under the MIT License.

Releases

No releases published

Packages

No packages published

Languages