#Email configuration error

4 messages · Page 1 of 1 (latest)

strange marsh
#

I put following settings into my server file, but console only gives generic error ERROR (payload): There is an error with the email configuration you have provided.
How can I find where the error is?

email: {
  transportOptions: {
    host: 'http://localhost',
    auth: {
      user: 'test',
      pass: 'test',
    },
    port: 587,
    secure: true,
    tls: {
      rejectUnauthorized: true,
    },
  },
  fromName: 'admin',
  fromAddress: 'info@vetvet.net',
},
restive moss
#

The Payload code looks like it should be surfacing the error in this scenario. Let me see if I can recreate locally.

#

host must be a valid url of an email provider

strange marsh
#

Does it mean I cannot test it locally?