Skip to content

mail__from environment variable missing/not working #342

@Askotion

Description

@Askotion

Hi,

i can't figure out how to get the mail__from env variable to work. It seems like its not available anymore?
Im using my own smtp server for this.

environment: mail__from: "Test <test@example.com>"

I still get this error which clearly stats its using the default from address.

Failed to send email. Reason: Can't send mail - all recipients were rejected: 553 5.7.1 noreply@blog.example.com: Sender address rejected: not owned by user test@example.com.

I tried setting it with "ghost config mail__from "test test@example.com"". But no luck.
Is this feature even available anymore?

Best

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions