これは私の唯一の問題かもしれません。私はmailgunにアカウントが自分のドメイン名の下に、このメッセージが表示されます:MailGunでドメインを正しく設定するにはどうすればよいですか?
Warning: Some of your domains (in red) have DNS configuration issues.
私はそれについて何ができますか?私は巨大なランダムなドメイン名を試したことは同じことを行う。
ありがとうございました!
--------------------------これが私の唯一の問題ではない場合------------ --------------------
私はMailGunでparse.comを使用しています。私はすべての私の解析のものをセットアップして、私はMailGunでアカウントを作って、MailGunでカスタムドメイン名を追加しました。ここにiOSコードがあります:
NSDictionary *params = [NSDictionary dictionaryWithObject:@"This is sent from your iPhone." forKey:@"text"];
[PFCloud callFunctionInBackground:@"emailGrocery" withParameters:params block:^(id object, NSError *error)
{
if(!error)
{
NSLog(@"Succeeded");
}
else
{
NSString *errorMsg = [[error userInfo] objectForKey:@"error"];
NSLog(@"%@", errorMsg);
}
}];
これは解析の例です。私はログにエラーメッセージが表示されるので、これがすべきことをやっていると思います。私は、送信者と受信者などの別の既知のメールアドレスとして、そこに私の実際の電子メールアドレスを持っている
var Mailgun = require('mailgun');
Mailgun.initialize('domain.com', 'key');
Parse.Cloud.define("emailGrocery", function(request, response) {
Mailgun.sendEmail({
to: "[email protected]",
from: "[email protected]",
subject: "Hello from Cloud Code!",
text: "Using Parse and Mailgun is great!"
}, {
success: function(httpResponse) {
console.log(httpResponse);
response.success("Email sent!");
},
error: function(httpResponse) {
console.error(httpResponse);
response.error("Uh oh, something went wrong");
}
});
});
:
はここでヒットしている私の雲のコードです。私はいつもエラー応答を返す。私はそこに実際のドメインとキーを持っています。
Warning: Some of your domains (in red) have DNS configuration issues.
私はこのことについて何をすべきかを把握することはできません。私のカスタムの電子メールドメイン名でmailgun上のアカウントでは、このメッセージがあります。それが私の唯一の問題かもしれないことは分かっていますが、私はこれを解決するために何をしますか?