I've Developed this library that is used for email services like sending emails . this compatible only csharp language, add to your csharp projects for free
First download this file then follow steps below.
- Right Click Folder of your CSharp project
- Click Add references
- Click browse and then select DLL File named Cj_Delivery_Email
- Then Click Ok
if you already adding this file to your references folder then follow steps below
- Import NameSpcae of Libray by using this syntax using cj_Delivery_Email.Email
:: :: Cj_Delivery_Email is a nameSpcae also .Email is another nameSpace belongs to the Cj_Delivery_Email - create the instance of my Email Library by using this syntax MyEmail email = new MyEmail();
- Your Create empty instance means no arguments also you can pass required arguments I Recomended To pass arguments to the instance
when you create the instance
MyEmail Lib has 3 instance, one is default constructor, another one takes 2 arguments and another takes 4 arguments we use the one that takes 4 arguments
by using this Code
using Cj_Delivery_Email.Email;
MyEmail email = new MyEmail(
"Your Gmail address",
"Your Password",
"From Gmail Address",
"To Gmail address"
);
email.SendEmail("DisplayName","Email Subject", "MessageContent");
You can use this code by sending email using my library.
Note : if you ommit arguments in sendEmail() method this method has default arguments and the lib will send your email followed by these default arguments , so Provide your custom arguments like :: Dispayname, Subject , Mail-message ::
This lib Only Compatible C# apps like
Winform Apps
Asp.net
Console Apps
Email : abdulrahmandev10@gmail.com
Mobile : 683533247