Giter Site home page Giter Site logo

tinyemailclient's Introduction

TinyEmailClient

中文文档:

tinyEmailClient是一个简单的邮件发送程序,采用C++语言编写,cmake编译工具进行编译。目前支持Ubuntu 22.04和Windows 7系统。 代码的编写采用了数据通信和协议处理分离的方式,你可以采用代码的协议处理部分,而使用自己的通信处理代码。

代码编译:

  1. tinyEmailClient使用cmake编译工具,请先安装cmake编译工具并设置好路径。
  2. tinyEmailClient使用c++语言编写,请保证您的c++编译器支持c++11。
  3. 在前两个条件准备好的基础上,就可以使用cmake工具进行编译了。

代码运行

SYNOPSIS ./client -u -p -r -t -s

OPTIONS -u, --user the account you used for send email -p, --password the password of the account

    -r, --receiver
                email address to receive email

    -t, --context
                email content

    -s, --subject
                email subject

第三方库

本程序使用了clipp作为命令行参数解析,socket-cpp实现网络通信。

仓库地址:

  1. clipp (https://github.com/muellan/clipp)
  2. socket-cpp https://github.com/embeddedmz/socket-cpp

English Document:

tinyEmailClient is a very simple email send program which is writen by cpp and compiled by cmake tool.tinyEmailClient support ubuntu 22.04 and windows 7 now.The smtp protocal process code and communication code is writen seperatly,so you can use the protocal process code and your own communication code.

how to compile:

  1. tinyEmailClient use cmake tool to compile,so please make sure you have installed the cmake,
  2. tinyEmailClient was writen by cpp with the standard on c++11,so please make sure your compiler support c++11.
  3. if the above two condition is prepared, you can compile the project.

how to run the program

  1. use command line to run the program

SYNOPSIS ./client -u -p -r -t -s

OPTIONS -u, --user the account you used for send email -p, --password the password of the account

    -r, --receiver
                email address to receive email

    -t, --context
                email content

    -s, --subject
                email subject

third party library to use

  1. this program use clipp to parse command arguments and socket-cpp for network.

Git Repositories:

  1. clipp (https://github.com/muellan/clipp)
  2. socket-cpp https://github.com/embeddedmz/socket-cpp

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.