smtpmock v2.0.0 Release Notes

Release Date: 2022-11-16 // 13 days ago
  • ➕ Added

    • ➕ Added ability to use multiple RCPT TO commands during one SMTP session, following RFC 2821 (section 4.1.1.3). Thanks @dandare100 for request and provided examples
    • ➕ Added ConfigurationAttr#MultipleRcptto, configuration#multipleRcptto, tests
    • ➕ Added Message#rcpttoRequestResponse, Message#isIncludesSuccessfulRcpttoResponse(), tests
    • ➕ Added handlerRcptto#resolveMessageStatus(), tests
    • ➕ Added Message public methods, tests
    • ➕ Added Server thread-safe getters/setters, tests

    🛠 Fixed

    ✂ Removed

    • ✂ Removed Message#rcpttoRequest, Message#rcpttoResponse
    • ✂ Removed &Message public methods

    ⚡️ Updated

    • ⚡️ Updated handlerRcptto#clearMessage(), handlerRcptto#writeResult(), handlerData#clearMessage(), tests
    • ⚡️ Updated Go reference trigger script
    • ⚡️ Updated Server#Messages(), returns slice of Message instead &Message
    • ⚡️ Updated CircleCI config, added checking for race conditions step
    • 📚 Updated project documentation

Previous changes from v1.10.0

  • ➕ Added

    • Ability to use address literal as HELO command args, following RFC 5321 (section 4.1.1.1). Thanks @dandare100 for investigation, report and brilliant PR.

    ⚡️ Updated

    • ⚡️ Updated consts
    • ⚡️ Updated handlerHelo tests
    • 📚 Updated project documentation