Skip to content

Configuring Clients

Rob Wood edited this page Apr 23, 2024 · 14 revisions

Any programs that you want to send mail to smtp4dev need to be configured so that they send mail via SMTP to the host/address and port number where smtp4dev is running.

Look for the following options in your program/platform

Option Value
SMTP hostname localhost if client is on same machine as smtp4dev
or the DNS name of the machine where smtp4dev is running e.g. mymachine.mydomain.
SMTP port number 25 (or the port you have chosen for SMTP server in smtp4dev)
SSL/TLS, Secure connection, Encryption Off or Not required etc
Authentication Off. See below.
Username/Password Authentication is not required, but will be accepted with any credentials if your client insists on their configuration. Alternatively you can turn on the Require Authentication (SMTP) option in the smtp4dev options and set up a user, then use the username password you set up here.

This is valid for the default configuration for smtp4dev. See configuration information for information on how to check and change this including how to enable SSL/TLS.

Clone this wiki locally