Windows Application using .NET 7.0 and Windows Forms, as email protocols for send SMTP and receive POP3, additional nuGet library OpenPop.
- Email Sending: Send emails to specified recipients with a subject and body.
- Email Receiving: Receive and display emails from the configured email account.
- Clone the repository:
git clone https://github.com/dotpep/email-client-app
- Open the project in your preferred C# development environment (e.g., Visual Studio).
- Check Configuration section below.
- Build and run the application.
Before using the application, follow these steps to configure your email settings:
- 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";
- Replace
"[email protected]"
with your actual Gmail address. - Generate an app password for Gmail by following the instructions here.
- 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.
- Visual Studio with .NET 7.0
- Gmail Account
- Google App Password - instructions here.
- Network Connection
- Launch the exe file application.
- Enter the required information in the provided textboxes:
- Sender's email address
- Recipient's email address
- Email subject
- Email body
- Click the "Send" button to send the email.
- Click the "Receive" button to retrieve and display received emails in the list.
- Select an email from the list to view its details in the designated area.
- Version: 1.0.0
- Release Date: 02.03.2024
- advanced received emails
- gmail login in apps using text components
- release exe file
This project is licensed under the MIT License.