1. Home
  2. /
  3. Docs
  4. /
  5. Bulk Email Paystubs Sage ...
  6. /
  7. FAQs and Troubleshooting
  8. /
  9. SMTP Error Matrix

SMTP Error Matrix

SMTP Server Error Logging

Overview

A logging feature has been added to Version 1.6 to help diagnose issues when sending email through your SMTP server. The log captures detailed information about each email transmission and records any error codes returned by the SMTP server.

Default Behavior: Logging is disabled by default. No log files are generated unless explicitly enabled.

Enabling Logging

  1. Locate the desktop icon for EmailPaystubs.exe.
  2. Right‑click the icon and select Properties.
  3. In the Target field, append -l (lowercase L) immediately after the executable path.
    Example:
    "C:\DataSoft Bulk Email Paystubs Standard\EmailPaystubs.exe" -l
  4. Ensure the executable path is enclosed in quotes if the folder name contains spaces.
  5. Click Apply and then OK to save the changes.

Log File Details

  • Location: Same folder as EmailPaystubs.exe.
  • Filename: EmailPaystubs<date>.log (e.g., EmailPaystubs2025-12-11.log).
  • Contents: Timestamp, recipient address, SMTP server response codes, and error messages.

SMTP Error Codes Reference

✅ Success Codes

CodeMeaningAction
220Service readyNo action needed
221Service closing channelNormal disconnect
250Requested mail action completedMessage delivered successfully
251User not local; will forwardDelivery forwarded
252Cannot verify user, but will acceptMessage accepted; monitor for bounce

⏳ Temporary Failures (Soft Bounce)

CodeMeaningLikely CauseRecommended Fix
421Service not availableServer busy or offlineRetry later; check server health
450Mailbox unavailableInbox full or lockedRetry later; recipient clears space
451Local error in processingServer misconfigurationRetry later; check logs
452Insufficient system storageQuota exceededFree space or expand storage
447Timeout waiting for responseNetwork latencyRetry; check connectivity

❌ Permanent Failures (Hard Bounce)

CodeMeaningLikely CauseRecommended Fix
500Syntax error, command unrecognizedInvalid SMTP commandVerify client syntax
501Syntax error in parametersMalformed addressCorrect input format
502Command not implementedUnsupported commandRemove or adjust command
503Bad sequence of commandsWrong orderFix client logic
504Parameter not implementedUnsupported parameterRemove or adjust parameter
550Mailbox unavailableUser doesn’t existVerify recipient address
551User not localWrong domainUse correct domain
552Exceeded storage allocationMailbox fullRecipient clears space
553Mailbox name not allowedInvalid formatCorrect address syntax
554Transaction failedSpam filter or policy blockCheck content/authentication

📈 Enhanced Status Codes

CodeMeaningLikely CauseRecommended Fix
5.1.1Bad destination mailboxUser doesn’t existVerify recipient
5.2.2Mailbox fullQuota exceededRecipient clears space
5.3.0System not accepting messagesPolicy blockCheck server configuration
5.4.1No answer from hostDNS/routing issueVerify MX records
5.7.1Delivery not authorizedSpam filter or policy rejectionCheck SPF/DKIM/authentication

Practical Troubleshooting

  • 4xx errors: Retry later; often temporary.
  • 5xx errors: Fix the root cause before resending.
  • 421/451: May indicate throttling or rate limits.
  • 550/553: Verify recipient address formatting and existence.
  • 554: Check for blacklisting, spam filters, or policy violations.