libemailfunctions

email.h File Reference

#include <qstringlist.h>
#include <qcstring.h>
#include <kdepimmacros.h>

Include dependency graph for email.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


Namespaces

namespace  KPIM

Enumerations

enum  KPIM::EmailParseResult {
  KPIM::AddressOk, KPIM::AddressEmpty, KPIM::UnexpectedEnd, KPIM::UnbalancedParens,
  KPIM::MissingDomainPart, KPIM::UnclosedAngleAddr, KPIM::UnopenedAngleAddr, KPIM::TooManyAts,
  KPIM::UnexpectedComma, KPIM::TooFewAts, KPIM::MissingLocalPart, KPIM::UnbalancedQuote,
  KPIM::NoAddressSpec, KPIM::DisallowedChar, KPIM::InvalidDisplayName
}

Functions

KDE_EXPORT bool KPIM::compareEmail (const QString &email1, const QString &email2, bool matchName)
KDE_EXPORT QString KPIM::decodeIDN (const QString &addrSpec)
KDE_EXPORT QString KPIM::emailParseResultToString (EmailParseResult errorCode)
KDE_EXPORT QString KPIM::encodeIDN (const QString &addrSpec)
KDE_EXPORT QString KPIM::getEmailAddress (const QString &address)
KDE_EXPORT QCString KPIM::getEmailAddress (const QCString &address)
KDE_EXPORT QString KPIM::getFirstEmailAddress (const QString &addresses)
KDE_EXPORT QCString KPIM::getFirstEmailAddress (const QCString &addresses)
KDE_EXPORT bool KPIM::getNameAndMail (const QString &aStr, QString &name, QString &mail)
KDE_EXPORT EmailParseResult KPIM::isValidEmailAddress (const QString &aStr)
KDE_EXPORT bool KPIM::isValidSimpleEmailAddress (const QString &aStr)
KDE_EXPORT QString KPIM::normalizeAddressesAndDecodeIDNs (const QString &addresses)
KDE_EXPORT QString KPIM::normalizeAddressesAndEncodeIDNs (const QString &str)
KDE_EXPORT QString KPIM::normalizedAddress (const QString &displayName, const QString &addrSpec, const QString &comment)
KDE_EXPORT QString KPIM::quoteNameIfNecessary (const QString &str)
KDE_EXPORT QString KPIM::simpleEmailAddressErrorMsg ()
KDE_EXPORT EmailParseResult KPIM::splitAddress (const QString &address, QString &displayName, QString &addrSpec, QString &comment)
KDE_EXPORT EmailParseResult KPIM::splitAddress (const QCString &address, QCString &displayName, QCString &addrSpec, QCString &comment)
KDE_EXPORT QStringList KPIM::splitEmailAddrList (const QString &aStr)

Detailed Description

Definition in file email.h.