Skip to content

Failed to send email using Postmark #1357

@kkostov

Description

@kkostov

I'm having trouble configuring remark to use Postmark's SMTP. The operation fails with a tls related error:

2022/05/15 08:36:22.369 [INFO]  {rest/httperrors.go:39 rest.SendErrorJSON} failed to send confirmation - failed to make smtp client: failed to dial smtp tls to smtp.postmarkapp.com:587: tls: first record does not look like a TLS handshake - 500 - xxx.xxx.xxx.xx - xxx [caused by auth/provider/verify.go:188 provider.VerifyHandler.sendConfirmation]

My SMTP settings are as follows:

SMTP_HOST=smtp.postmarkapp.com
SMTP_PORT=587
SMTP_TLS=true
SMTP_USERNAME=***
SMTP_PASSWORD=***

I did find a few other issues discussing TLS but I couldn't find a way to make it work.

Postmark offers two main ways to authenticate, the one that seems compatible with remark is "SMTP Token".

I tried using any of the supported ports - 25, 2525 and 587 as well was setting both SMTP_TLS=true and/or SMTP_STARTTLS=true.

Is it possible that I'm overlooking something?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions