简体   繁体   中英

Phabricator SES Emails?

My mailers.json file:

[
 {
"key": "ExampleOrg",
"type": "ses",
"options": {
  "endpoint": "email-smtp.us-east-1.amazonaws.com",
  "access-key": "....................",
    "secret-key": ".............................."
}
 }
]

then cd to Phabricator installation

./bin/config set --stdin cluster.mailers < mailers.json

I restarted apache2, but still all the emails are pending in Queue.

For anyone facing this issue change the endpoint url

from: "endpoint": " email-smtp .us-east-1.amazonaws.com", to: "endpoint": " email .us-east-1.amazonaws.com",

Phabricator expects the http endpoint url and not the smtp

Try sending a test email using

bin/mail send-test --to alincoln --subject hi < body.txt

it will show you the error if there are any, in my case it was the php-xml installing it solved the issue

sudo apt install php-xml

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM