mailer.h | mailer.h | |||
---|---|---|---|---|
skipping to change at line 166 | skipping to change at line 166 | |||
// jwSMTP will try to use authentication. | // jwSMTP will try to use authentication. | |||
// To not use authentication after this, call again | // To not use authentication after this, call again | |||
// with the empty string e.g. | // with the empty string e.g. | |||
// mailerobject.username(""); | // mailerobject.username(""); | |||
void username(const std::string& User); | void username(const std::string& User); | |||
// set the password for authentication | // set the password for authentication | |||
void password(const std::string& Pass); | void password(const std::string& Pass); | |||
private: | private: | |||
// create a header with current message and attachments. | // create a header with current message and attachments. | |||
std::string makesmtpmessage() const; | std::vector<char> makesmtpmessage() const; | |||
// this breaks a message line up to be less than 1000 chars per line. | // this breaks a message line up to be less than 1000 chars per line. | |||
// keeps words intact also --- rfc821 | // keeps words intact also --- rfc821 | |||
// Check line returns are in the form "\r\n" | // Check line returns are in the form "\r\n" | |||
// (qmail balks otherwise, i.e. LAME server) | // (qmail balks otherwise, i.e. LAME server) | |||
// also if a period is on a line by itself add a period | // also if a period is on a line by itself add a period | |||
// stops prematurely ending the mail before whole message is sent. | // stops prematurely ending the mail before whole message is sent. | |||
void checkRFCcompat(); | void checkRFCcompat(); | |||
// helper function. | // helper function. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||