我有一個Laravel 5.2應用程序,我需要發送電子郵件,所以我選擇sparkpost作爲郵件服務。我配置了API_KEY,司機等,但現在我得到這個錯誤:在測試服務器上配置sparkpost帳戶
Client error: `POST https://api.sparkpost.com/api/v1/transmissions` resulted in a `400 Bad Request` response:
{ "errors": [ { "message": "Invalid domain", "description": "No sending domain specified", "code": "7001" } ] }
我讀這是因爲一個無效的域,因此,它不是我清楚如何配置域,如果我沒有一個域,我只有一個IP地址爲45.xxx.xxx.xxx的測試服務器,或者我必須發送哪些選項郵件?