📄 dialogsmtp.h
字号:
#ifndef DIALOGSMTP_H#define DIALOGSMTP_H#include <string>#include <iostream>using namespace std;class DialogSMTP{ public: //char tampon[1024]; //string s; //string er; public: //contructeur-------------------------------------------- DialogSMTP(); //destructeur-------------------------------------------- ~DialogSMTP(); //accesseurs--------------------------------------------- //const char* getTamp(); //string getS(); //string getEr(); //methodes----------------------------------------------- //ouverture de liaison "EHLO <esp><domaine><CRLF> void ehlo(string, char tampon[]); //fermeture de connexion "QUIT <CRLF>" void quit(char tampon[]); //renvoie un string de type "MAIL <espace> FROM <chemin inverse> <CRLF>" //l'argument de cette methode est le chemin inverse void mail(string, char tampon[]); //renvoie un string de type "RCPT <esp> TO <chemin directe> <CRLF> //l'argument de cette methode est le chemin directe void rcptTo(string, char tampon[]); //renvoie un string de type "DATA <CRLF>" void data(char tampon[]); //renvoie un string representant le message (avec entete) de l'utilisateur termin
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -