Tech Tip: Using Transporter instead of SMTP for easier troubleshooting
PRODUCT: 4D | VERSION: 20 | PLATFORM: Mac & Win
Published On: August 7, 2023
Using Internet Commands like SMTP used to be the typically way for sending email prior to v19. However, troubleshooting error codes can feel a bit dated as it requires looking up the error code each time any issue comes up.
Instead, it is recommended to start using SMTP New transporter as a replacement as the returned result is an object containing attributes "status" for error code and "statusText" for the reasoning for the error. Take an authentication error example below:
SMTP_Send error:
Transporter.send() error: