|
Eneboo - Documentación para desarrolladores
|
Cliente SMTP para correo electrnico. Más...
#include <FLObjectFactory.h>
Slots públicos | |
| void | setFrom (const QString &from) |
| void | setTo (const QString &to) |
| void | setSubject (const QString &subject) |
| void | setBody (const QString &body) |
| void | addAttachment (const QString &attach, const QString &cid=QString::null) |
| void | addTextPart (const QString &text, const QString &mimeType="text/plain") |
| void | setMailServer (const QString &mS) |
| void | setMimeType (const QString &mT) |
| void | startSend () |
| void | emitStatus (const QString &st) |
| void | emitSendStarted () |
| void | emitSendEnded () |
| void | emitSendTotalSteps (int ts) |
| void | emitSendStepNumber (int sn) |
| FLSmtpClient * | obj () |
Señales | |
| void | status (const QString &) |
| void | sendStarted () |
| void | sendEnded () |
| void | sendTotalSteps (int) |
| void | sendStepNumber (int) |
Métodos públicos | |
| FLSmtpClientInterface () | |
| FLSmtpClientInterface (FLSmtpClient *obj) | |
| ~FLSmtpClientInterface () | |
Cliente SMTP para correo electrnico.
Cliente SMTP para correo electrnico
Esta clase es utilizada para componer un mensaje de correo electrnico y enviarlo mediante el protocolo SMTP.
| FLSmtpClientInterface::FLSmtpClientInterface | ( | ) | [inline] |
Constructor
| FLSmtpClientInterface::FLSmtpClientInterface | ( | FLSmtpClient * | obj | ) | [inline] |
Constructor
| FLSmtpClientInterface::~FLSmtpClientInterface | ( | ) | [inline] |
Destructor
| void FLSmtpClientInterface::addAttachment | ( | const QString & | attach, |
| const QString & | cid = QString::null |
||
| ) | [inline, slot] |
Adjunta un fichero al mensaje
| attach | Ruta y nombre del fichero a adjuntar |
| cid | Id para incrustar fichero en HTML |
| void FLSmtpClientInterface::addTextPart | ( | const QString & | text, |
| const QString & | mimeType = "text/plain" |
||
| ) | [inline, slot] |
Aade una parte de texto al mensaje
| text | Texto a aadir |
| mimeType | Formato MIME del texto. Por defecto text/plain |
| void FLSmtpClientInterface::emitSendEnded | ( | ) | [inline, slot] |
| void FLSmtpClientInterface::emitSendStarted | ( | ) | [inline, slot] |
| void FLSmtpClientInterface::emitSendStepNumber | ( | int | sn | ) | [inline, slot] |
| void FLSmtpClientInterface::emitSendTotalSteps | ( | int | ts | ) | [inline, slot] |
| void FLSmtpClientInterface::emitStatus | ( | const QString & | st | ) | [inline, slot] |
| FLSmtpClient* FLSmtpClientInterface::obj | ( | ) | [inline, slot] |
| void FLSmtpClientInterface::sendEnded | ( | ) | [signal] |
Indica que se ha finalizado el envo del mensaje
| void FLSmtpClientInterface::sendStarted | ( | ) | [signal] |
Indica que se ha iniciado el envo del mensaje
| void FLSmtpClientInterface::sendStepNumber | ( | int | ) | [signal] |
Indica el nmero de paso que se va ejecutar. Usado para dilogos de progreso.
| void FLSmtpClientInterface::sendTotalSteps | ( | int | ) | [signal] |
Indica los pasos totales que se ejecutarn en el proceso de envo. Usado para dilogos de progreso.
| void FLSmtpClientInterface::setBody | ( | const QString & | body | ) | [inline, slot] |
Establece el cuerpo del mensaje
| body | Texto del cuerpo |
| void FLSmtpClientInterface::setFrom | ( | const QString & | from | ) | [inline, slot] |
Establece el remitente del mensaje
| from | Direccin de correo del remitente |
| void FLSmtpClientInterface::setMailServer | ( | const QString & | mS | ) | [inline, slot] |
Servidor de correo saliente.
Si no se indica un servidor de correo saliente intentar averiguarlo mediante los registros MX de los servidores de DNS.
| mS | Nombre o direccion IP del servidor de correo saliente |
| void FLSmtpClientInterface::setMimeType | ( | const QString & | mT | ) | [inline, slot] |
Tipo MIME
Indica el tipo MIME del cuerpo del mensaje
| mT | Tipo MIME |
| void FLSmtpClientInterface::setSubject | ( | const QString & | subject | ) | [inline, slot] |
Establece el asunto del mensaje
| subject | Texto del asunto |
| void FLSmtpClientInterface::setTo | ( | const QString & | to | ) | [inline, slot] |
Establece el destinatario del mensaje
| to | Direccin de correo del destinatario |
| void FLSmtpClientInterface::startSend | ( | ) | [inline, slot] |
Inicia el envo del mensaje
| void FLSmtpClientInterface::status | ( | const QString & | ) | [signal] |
Informa del estado del envo
1.7.4