Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Required Auth Sendername #2

Closed
bnomei opened this issue Jan 6, 2022 · 0 comments
Closed

Required Auth Sendername #2

bnomei opened this issue Jan 6, 2022 · 0 comments
Assignees
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@bnomei
Copy link
Owner

bnomei commented Jan 6, 2022

https://forum.getkirby.com/t/postmark-app-for-all-emails/24389/8?u=bnomei

@texnixe

Ok, after creating an account myself, I have now found what the problem is. You need a verified sender name, which you have to set with the auth config options:

return [
    // …other settings
    'auth' => [
        'methods' => ['password', 'password-reset'],
        'challenge' => [
            'email' => [
                'from'     => 'myverifiedsender@mydomain.com',
                'fromName' => 'My Name',
            ]
        ]
    ],
    'email' => [
        'transport' => [
            'type' => 'smtp',
            'host' => 'smtp.postmarkapp.com',
            'port' => 587,
            'security' => true,
            'auth' => true,
            'username' => 'username',
            'password' => 'password',
        ]
    ]
];
@bnomei bnomei added bug Something isn't working documentation Improvements or additions to documentation labels Jan 6, 2022
@bnomei bnomei self-assigned this Jan 6, 2022
@bnomei bnomei closed this as completed Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant