Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.
The application sends various emails to users, such as email verification upon registration and account recovery emails. Additionally, the application can send email notifications when new responses are received, if configured.
Configuring SMTP
To enable the mailer, ensure that the SMTP_URL
and SMTP_SENDER
environment variables are properly configured. Here’s an example of how to set these variables:
Enabling TLS
To enable TLS for secure email transmission, use the smtps://
protocol in the SMTP_URL
. For example:
Other Configuration Options
The following configuration options can be passed as query string parameters, e.g., ?rejectUnauthorized=false
:
secure
: If true, the connection will use TLS when connecting to the server. If false (the default), TLS is used if the server supports the STARTTLS extension. Typically, set this value to true if you are connecting to port 465. For ports 587 or 25, keep it false.ignoreTLS
: If true andsecure
is false, TLS will not be used even if the server supports the STARTTLS extension.requireTLS
: If true andsecure
is false, Nodemailer will try to use STARTTLS even if the server does not advertise support for it. If the connection cannot be encrypted, the message will not be sent.rejectUnauthorized
: Disable rejecting unauthorized (self-signed) certificates by setting this to false.
Sender Name Format
You can provide the sender’s name in the format App Name <noreply@example.com>
. This format is supported and helps recipients identify the sender more easily. For example: