kisli / vmime

VMime Mail Library
http://www.vmime.org
GNU General Public License v3.0
274 stars 110 forks source link

Configurable email add domain #287

Closed bmagistro closed 10 months ago

bmagistro commented 11 months ago

This is our attempt at handing #235 (adding local hostname when domain is absent). It is built off of #286.

jengelh commented 10 months ago

There's now a build failure as a result of this commit. [Last good commit: acfc0bbf]

src/vmime/emailAddress.cpp: In member function ‘const vmime::text vmime::emailAddress::toText() const’:
src/vmime/emailAddress.cpp:713:27: error: ‘const class vmime::word’ has no member named ‘empty’; did you mean ‘isEmpty’?
  713 |         if (!m_domainName.empty()) {
      |                           ^~~~~
bmagistro commented 10 months ago

looks like that should be isEmpty. Looks like I missed an update here as that is what I have in the patch I'm using locally.