libemailfunctions

email.h File Reference
#include <tqstringlist.h>
#include <tqcstring.h>
#include <tdemacros.h>

Go to the source code of this file.

Namespaces

 KPIM
 

Enumerations

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

Functions

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