1
私は電子メール検証アプリケーションを構築しており、mailgun-jsを使ってメールクライアントにMailgunを使用しています。Mailgun-jsが301エラーを投げている
私は自分のデータのためにこれを使用しています:
{"from":"[email protected]",
"to":"[email protected]",
"subject":"Verify your email",
"text":"Hello,<br> Please click on the link to verify your email.<br><a href=https://mail-verification-baruchkogan.c9users.io/verify/borisbaruch kogan/Zr6expRlUhnKrXzBHg9X1gyT9laFSl1w91wrESv4B25tWnBDSphp8wKLTbeV4cFf>Click here to verify</a>"
}
そして、この機能でそれを呼び出す:
mailgun.messages().send(data, function (error, body) {
if(error) {console.log('mailgun error: ', error)}
console.log(body); }
返す:
mailgun error: { [Error:
<title>301 Moved Permanently</title>
301 Moved Permanently
nginx ] statusCode: 301 } undefined`
は私が間違って何をしているのですか?