Dacons LLP Mailit for C/C++ | Version 1.0.8 |
Emai::SmtpSession Class ReferenceWrapper class for EmaiSmtpSession. More...
Inheritance diagram for Emai::SmtpSession: ![]()
Detailed DescriptionWrapper class for EmaiSmtpSession.
Definition at line 90 of file EmaiSMTP.hpp. Member Function Documentation
Establishes connection to the server.
Definition at line 338 of file EmaiSMTP.hpp. References Emai::CheckErrorCode(), EmaiSmtpConnect(), and Emai::Object< EmaiSmtpSession >::mObject. 00343 { 00344 CheckErrorCode(EmaiSmtpConnect(mObject, 00345 inMailServer, inPort, inOptions)); 00346 }
Establishes connection to the server.
Definition at line 349 of file EmaiSMTP.hpp. References Emai::CheckErrorCode(), EmaiSmtpConnectEx(), and Emai::Object< EmaiSmtpSession >::mObject. 00356 { 00357 CheckErrorCode(EmaiSmtpConnectEx(mObject, 00358 inMailServer, inPort, inProxyInfo, inUserData, inOptions)); 00359 }
Disconnects the session from the server.
Definition at line 362 of file EmaiSMTP.hpp. References Emai::CheckErrorCode(), EmaiSmtpDisconnect(), and Emai::Object< EmaiSmtpSession >::mObject. 00365 { 00366 CheckErrorCode(EmaiSmtpDisconnect(mObject, inOptions)); 00367 }
Authenticates the session at the server.
Definition at line 370 of file EmaiSMTP.hpp. References Emai::CheckErrorCode(), EmaiSmtpAuthenticate(), and Emai::Object< EmaiSmtpSession >::mObject. 00375 { 00376 CheckErrorCode(EmaiSmtpAuthenticate(mObject, inAccount, 00377 inPassword, inOptions)); 00378 }
Sends the message.
Definition at line 381 of file EmaiSMTP.hpp. References Emai::CheckErrorCode(), EmaiSmtpSendMessage(), and Emai::Object< EmaiSmtpSession >::mObject. 00385 { 00386 CheckErrorCode(EmaiSmtpSendMessage(mObject, inMessage, inOptions)); 00387 }
Sends the message.
Definition at line 390 of file EmaiSMTP.hpp. References Emai::CheckErrorCode(), EmaiSmtpSendMessageEx(), and Emai::Object< EmaiSmtpSession >::mObject. 00395 { 00396 EmaiStringList stringList = NULL; 00397 CheckErrorCode(EmaiSmtpSendMessageEx(mObject, inMessage, &stringList, inOptions)); 00398 if (stringList != NULL) 00399 outFailedRecipients = StringList(stringList, true); 00400 }
Marks the SMTP session to be cancelled ASAP.
Definition at line 403 of file EmaiSMTP.hpp. References Emai::CheckErrorCode(), EmaiSmtpCancel(), and Emai::Object< EmaiSmtpSession >::mObject. 00406 { 00407 CheckErrorCode(EmaiSmtpCancel(mObject, inOptions)); 00408 }
Sens NOOP command to the SMTP server. Used to avoid timout disconnection, during inactivity period.
Definition at line 411 of file EmaiSMTP.hpp. References Emai::CheckErrorCode(), EmaiSmtpNoop(), and Emai::Object< EmaiSmtpSession >::mObject. 00414 { 00415 CheckErrorCode(EmaiSmtpNoop(mObject, inOptions)); 00416 }
The documentation for this class was generated from the following file: |